| 开发者 | sherpadigital |
|---|---|
| 更新时间 | 2026年10月20日 19:46 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
define( 'SHERPA_FILE_REPLACE_PRIVATE_DIR', '/absolute/private/path/managed-documents' );
If this constant is absent or unsafe, file replacement and audit history continue to work, but previous file contents are not retained.No. Publishing a new version replaces the physical file in place while retaining the attachment ID, uploads path, permanent filename and public URL.
Yes. Administrators can open Sherpa Plugins > Settings and grant an individual user permission to manage documents. Version restoration can be granted separately. The user must also retain the normal WordPress permissions needed to upload files and edit the relevant attachments.
Replacement history is recorded automatically. Previous file contents are retained only when private rollback storage is configured using SHERPA_FILE_REPLACE_PRIVATE_DIR.
Plugin data is preserved by default. Administrators can explicitly enable full data deletion under Sherpa Plugins > Settings before uninstalling. Media Library attachments and their current public files are never deleted by the uninstall routine.
Not currently. The plugin works with files stored in the local WordPress uploads directory. Object storage and media-offload systems require provider-specific integration.