File Versions & Replacements
When you replace a file inside a Single or Grouped resource, ClientCove keeps the previous version automatically. You can browse history, download any prior version, and restore one with a single click — without breaking external links to the resource.
How Versioning Works
Versioning applies to file-based resources (Single and Grouped types). Every replacement creates a new entry in the version history:
- The new file becomes the current version
- The previously current file is preserved as the next-most-recent version
- The resource URL stays the same — share links keep working
- The version count increments (
v1,v2,v3, …)
Posts, FAQs, and other content-based resources use WordPress revisions instead — accessed via the WordPress admin.
Replacing a File
In edit mode, on the Files tab:
- Find the file row
- Click the Replace action
- The Media frame opens — choose an existing media item or upload a new one
- Confirm — the new file is saved and the previous version is archived
A toast confirms the replacement.
Drag-to-Upload Replacement
You can also drag a file from your desktop directly onto the file dropzone in edit mode:
- Open the resource in edit mode
- Drag a file onto the Drag & drop files here zone at the top of the Files tab
- The file uploads in the background and appears in the file list
The drag-to-upload zone in edit mode was fixed in release 2.9.13. If you tried this in earlier versions and saw a missing-nonce error, re-test on 2.9.13 or later — the dropzone now POSTs directly to async-upload.php with a properly localized media nonce.
Opening Version History
On any file row in the Files tab, click the versions action (clock icon). The File Versions Modal opens.
Inside the Version Modal
The modal shows:
Header
- The current file with a Download current version link
Version list
Each prior version row displays:
- Version number (
v3,v2, …) - File name
- File size
- Time ago (relative)
- Who replaced it (user name)
Per-row actions
- Download this version — downloads the historical file
- Restore this version — promotes it back to current
Footer
- Total previous versions count
Restoring a Previous Version
- Open the version modal
- Find the version you want
- Click Restore
- Confirm the action
The chosen version becomes the current file. The previously current version is rolled into the history — so restores are themselves reversible. Nothing is ever lost.
Restored files use the original media library asset, so any thumbnails, metadata, and S3/Spaces signed URLs regenerate correctly. External share links, email links, and embeds continue to point at the resource without modification.