Found Image WP Document Revisions | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
74%
3.7 Stars (22 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Ben Balter
Version: 3.2.4
Requires: WP 4.6
Last Updated:2392 days ago
Downloads:125622
Installations: 5,000+
Tags:
    collaboration, document management, documents, revisions, version control
Download Plugin Package

WP Document Revisions

Released on April 30, 2011.
Download Plugin Package

Version: 3.2.4

A document management and version control plugin for WordPress that allows teams of any size to collaboratively edit files and manage their workflow.

  • Description
  • Changelog
  • Installation


Numbers in brackets show the issue number in https://github.com/wp-document-revisions/wp-document-revisions/issues/

5.1.0

  • Upload document files using wp.media rather than the thickbox process simplifying internal processing. (#539)
  • Extend Validation structure process to identify inaccessible document files and potentially delete them. (#551)
  • Provide a filter 'document_no_document_response_code' to modify the response code when there is no document to serve. (#453)
  • Provide a filter 'document_check_orphans' to control whether to check a document for orphans, i.e inaccessible document files. (#551)
  • Provide a filter 'document_validate_orphans' to control the list of attachments considered inaccessible for a document. (#551)
  • Allow /?post_type=document&p= as a valid variant of an "ugly" guid permalink for validation. (#549)
  • Review the revision log metabox to only permit the restore of revisions that link to a different document file. (#553)
  • Review REST processing to further protect attachment details. (#554)
  • Make use of a (temporary) postmeta value to keep track of the current document attachment during editing. (#547)
  • Fix the update to the age of revisions being displayed in the revision log. (#548)
  • Fix to ensure that only one document file can be loaded at a time. (#539)
  • Refactor to include class variables in trait files if only used there. (#547)
  • Remove type definition from the_title filter causing PHP crash due to invalid parameter being passed. (#550)
  • Migrate the legacy 'document_attachment_id' post meta to the protected '_document_attachment_id' key on access. (#547)
  • Provide a 'wpdr/v1/documents/.../revisions/.../diff' REST endpoint returning the per-revision text diff that drives the AI summary, gated on read_document_revisions. (#531)
  • Add a "Mark reviewed" action to the AI revision-summary suggestion banner so an editor can record that a summary has been human-reviewed. (#531)
  • Resolve the uploaded document file URL from the upload request rather than the global post object. (#569)
  • Fix duplicate upload handling so reopening the media frame no longer fires the upload callback more than once. (#568)

5.0.0

Adds native text extraction and AI-generated revision summaries for document libraries. The full design and the twelve PRs that implemented it are tracked in #514; a smaller set of deferred follow-ups is in #531.

Breaking changes: raises the minimum PHP from 7.4 to 8.0 and the minimum WordPress from 5.0 to 5.9 to match what CI actually exercises. Sites on older PHP or WP will no longer see updates to this plugin until they upgrade their runtime. The composer floor was already at PHP 7.4, so install on PHP < 7.4 was already failing; this commit bumps the same constraint to 8.0 and brings the readme.txt declaration in line with what the test matrix verifies. WordPress 5.0–5.8 were never in CI's matrix; that floor's bump is similarly a "claim what we test" cleanup. PHP 7.4 has been EOL since November 2022 and WP 5.0 is from December 2018, so the practical population affected is small.

# Features

  • #514: Native text extraction from PDF (via smalot/pdfparser), DOCX, and ODT (via phpoffice/phpword). Extraction runs out-of-band via wp-cron after a revision is uploaded; results are SHA-256-keyed against the file's contents and stored as post meta on the attachment so re-extracting unchanged content is a no-op. New wpdr_text_extractors filter lets a site register custom extractors for additional formats (see the cookbook recipe).
  • #514: AI-generated revision summaries via the WordPress 7.0 AI Client. After extraction completes, a second cron event computes a unified diff between the new revision's text and the prior revision's, sends it to the AI Client with a filterable prompt, and stores the 1–3-sentence summary as post meta on the attachment. Falls back gracefully to summarising the new document directly when the diff is too large or the prior revision has no extractable text. Skips silently when the AI Client is unavailable (older WordPress) or WP_AI_SUPPORT is false.
  • #514: Admin-editor JS pre-fills the AI summary into the revision log textarea on the document edit screen, with a dismiss link. Never clobbers user-typed content. Per-document opt-out ("Do not pre-fill the revision log with AI suggestions") in a new "Text Extraction & AI" sidebar meta box; sitewide opt-out via the WPDR_AI_SUMMARY_PREFILL constant.
  • #514: Per-document and sitewide opt-outs for text extraction itself ("Skip text extraction for this document" checkbox, WPDR_TEXT_EXTRACTION constant). Flipping the per-document opt-out on clears every cache-managed meta key on the document's revision attachments and unschedules pending cron events.
  • #514: WP-CLI document-revisions extract-text command for backfilling the extraction cache across an existing library. Selectors: --all, --missing (excludes failure-list entries to prevent infinite retry on malformed files), --id=<id>. Modifiers: --extractor=<class> to target reprocessing by tool identity, --force to bypass cache + failure list, --dry-run.
  • #514: Read + review REST endpoints under wpdr/v1. GET /documents/<doc>/revisions/<rev>/summary returns the cached summary with a status envelope (pending / ready / unavailable); read_document capability. POST .../summary/review marks a summary as human-reviewed; edit_document capability. Capability mapping by @NeilWJames.
  • #514: New action wpdr_text_extracted fires after extracted text is cached, so third-party search-indexing or embedding consumers can hook without monkey-patching the cache class.
  • Adds a Text Extraction & AI Summaries cookbook recipe covering custom extractors, prompt customization, the four opt-out switches, the WP-CLI backfill, alternative AI providers, and the REST surface.

4.0.7

For complete changelog, see GitHub


🚀 Automatic Install (Recommended)

  1. Log into WordPress Admin - Login to your WordPress site as an Administrator, or if you haven't already, complete the WordPress installation
  2. Go to Plugins - Navigate to Plugins > Add New from the left menu
  3. Search - Search for "WP Document Revisions"
  4. Install - Click "Install Now" next to WP Document Revisions
  5. Activate - Click "Activate" to enable the plugin

📦 Manual Install

  1. Download - Get the latest version from WordPress.org or GitHub Releases
  2. Upload - Unzip the file and upload the "wp-document-revisions" folder to your /wp-content/plugins/ directory
  3. Activate - Log into WordPress admin, go to Plugins, and activate "WP Document Revisions"

💻 Developer Install

For development or contributing:

`bash

git clone https://github.com/wp-document-revisions/wp-document-revisions.git cd wp-document-revisions composer install --no-dev `

⚙️ Requirements

  • WordPress: 5.0 or higher
  • PHP: 7.4 or higher
  • File Permissions: WordPress must be able to write to the uploads directory

🎯 Next Steps

After installation, you'll find a new Documents menu in your WordPress admin. Start by:

  1. Creating your first document - Go to Documents > Add New
  2. Setting up workflow states (optional) - Go to Documents > Workflow States
  3. Configuring permissions - Review Settings > Document Revisions

Need help? Check our FAQ or get support.


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string 8YvXVK to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.