內容簡介
這個外掛為 WordPress 介面新增了微妙的工作流程。當任何人編輯一篇已經發佈的文章或頁面時,"發佈" 執行箱中會有一些額外的選項可供選擇。只要選擇適當的選項,修改就會被保存為頁面或文章的修訂版本,而先前的修訂版本(已經發佈的版本)仍然會保持發佈狀態。
編輯頁面的人可以從以下四個選項中選擇:
正常發佈這些修改 - 這將避免使用本外掛中的任何功能,並按照正常的方式發佈修改。這通常是默認選項。
將這些更改保存為修訂版本,但不通知任何人 - 這將回復頁面或文章到已經發佈的版本,將修改保存為修訂版本。這不會發送任何通知電子郵件。
將這些修訂版本保存為草稿並通知審查人 - 這將回復頁面或文章到已經發佈的版本,將修改保存為修訂版本。這還會發送郵件通知到選項中輸入的電子郵件地址。
正常發佈這些修改,但通知審查人有更改 - 這將按照正常方式發佈修改,但仍然向提供的電子郵件地址發送通知郵件。
如果選擇了第三或第四個選項,一個選框將出現,要求用戶提供一個電子郵件地址(多個地址用逗號分隔),以便發送通知消息。如果該框留空,外掛將嘗試從單個站點檢索 "dpn_reviewers" 選項的值。如果該選項不存在,該選項將從網路中檢索(如果在多站點環境中安裝)。您可以在管理區域的 "設置->撰寫" 和 "網路管理員->設置->網路設置"(多站點)屏幕中編輯這些選項。如果這些選項都不存在,則使用站點管理員的電子郵件地址。
待處理事項
包括多網路啟用選項
實現將此功能添加到自定義文章類型的能力
已知問題
審查和批准修改的介面(WordPress 中內建的預設修訂比較)不是非常用戶友好。可能需要進行一些培訓,以教一些審查人員如何識別和批准適當的修訂版本。
如果多個審查人員被通知進行修改,沒有簡單的方法讓他們知道其中一個審查人員審核和批准(或可能拒絕)更改的情況。
目前沒有可用的介面來刪除修訂版本,這意味著實際上沒有辦法(除了完全不採取任何行動)拒絕任何更改。
當一篇文章被修改多次,修訂版本開始累加時會出現問題。
外掛標籤
開發者團隊
原文外掛簡介
This plugin adds a minor bit of workflow to the WordPress interface. When anyone edits a post or a page that has already been published, a few extra options will be available in the “Publish” metabox. Any time the appropriate option is chosen, the changes will be saved as a revision to the page or post, and the previous revision (the version that was already published) will remain published.
The person editing the page can choose from the following four options:
Publish these modifications normally – This will avoid running any of the functions in this plugin and publish the changes the way they would normally be published. This is always the default.
Save these changes as a revision, but don’t notify anyone – This will revert the page or post to the version that was already published, saving the modifications as a post revision. This will not send out any notification emails.
Save these revisions as a draft and notify reviewer – This will revert the page or post to the version that was already published, saving the modifications as a post revision. This will also send out an email message to the email address entered in the options.
Publish these modifications, but notify a reviewer that changes were made – This will publish the changes normally, but will still dispatch a notification message to the email address provided.
If the third or fourth option is selected, a box will appear asking the user to provide an email address (or multiple addresses separated by commas) to which to send the notification message. If that box is left empty, the plugin will attempt to retrieve the value of the “dpn_reviewers” option from the individual site. If that option doesn’t exist, the “dpn_reviewers” option will be retrieved from the network (if installed in a multisite environment). You can edit those options in the Settings -> Writing and Network Admin -> Settings -> Network Settings (multisite) screens within the administrative area. If neither of those options exist, the email address of the site’s admin will be used.
To Do
Include multi-network activation options
Implement the ability to add this functionality to custom post types
Known Issues
The interface to review and approve modifications (the default revision comparison built into WordPress) is not extremely user-friendly. Some training will most likely be necessary to teach reviewers how to identify and approve the appropriate revisions.
If multiple reviewers are notified of modifications, there is no easy way to let them all know when one of them reviews and approves (or potentially rejects) the changes.
There is no interface currently available to delete revisions, which means there is no way (other than taking no action at all) to actually reject any changes.
When a post is revised multiple times before the revisions are approved, the changes begin to cascade.
