Linux 软件免费装
Banner图

Sherpa Managed Documents

开发者 sherpadigital
更新时间 2026年10月20日 19:46
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later

标签

pdf media library replace file stable url document versioning

下载

1.5.0 1.5.6

详情介绍:

Sherpa Managed Documents provides a dedicated administration area for documents that need a permanent public URL. Administrators and authorised users can add an existing Media Library document or upload a new managed document. Replacement versions are published in place, retaining the attachment ID, uploads path, permanent filename and public URL. Features include: The plugin supports non-image files stored in the local WordPress uploads directory. Replacement files must use the same extension as the current document. Created by Sherpa Digital.

安装:

  1. Upload and activate the plugin.
  2. Open Sherpa Plugins > Add Document.
  3. Select an existing Media Library document or upload a new document.
  4. Open the managed document and upload its next version using the same extension.
For private rollback storage, define a writable directory outside the public document root in wp-config.php: 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.

常见问题:

Does replacing a document change its URL?

No. Publishing a new version replaces the physical file in place while retaining the attachment ID, uploads path, permanent filename and public URL.

Can I give an Editor access?

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.

Are previous versions retained?

Replacement history is recorded automatically. Previous file contents are retained only when private rollback storage is configured using SHERPA_FILE_REPLACE_PRIVATE_DIR.

What happens when the plugin is removed?

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.

Does it support media-offload services?

Not currently. The plugin works with files stored in the local WordPress uploads directory. Object storage and media-offload systems require provider-specific integration.

更新日志:

1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.1 1.4.0 1.3.2 1.3.1 1.3.0 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0