Linux 软件免费装
Banner图

SapphireIT Editorial Workflow

开发者 sapphireit
更新时间 2026年10月18日 16:02
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

publishing editorial workflow reviewer content review approval workflow

下载

1.0.0

详情介绍:

SapphireIT Editorial Workflow adds a real editorial process on top of the posts you already have. Every managed post gets a workflow status, an assigned reviewer, a due date, workflow comments and a complete activity history — managed from a Gutenberg sidebar, a classic editor meta box and an admin dashboard. Six statuses, one clear path: Draft → Writing → Review → Needs Changes → Approved → Published, with explicit paths for sending content back and for re-editing something that is already live. What it does What it deliberately does not do Being straight about this matters more than a longer feature list: Who can do what Every change also requires WordPress' own permission to edit that specific post. By default administrators get everything, editors can review and approve, authors and contributors can move their own content up to Review, and subscribers get nothing. Developers The plugin is built as a thin React client over a PHP workflow engine, and fires actions and filters at every lifecycle point (sit_cwm_status_changed, sit_cwm_can_transition, sit_cwm_transition_map and more) so it can be extended without editing its files.

安装:

  1. Upload the plugin to /wp-content/plugins/sapphireit-editorial-workflow/, or install it through Plugins → Add New → Upload Plugin.
  2. Activate it through the Plugins menu. Activation creates the activity table and grants the workflow capabilities to your existing roles.
  3. Go to Editorial Workflow → Settings and choose which post types the workflow applies to. Posts and pages are enabled by default.
  4. Open any post in the block editor and click the Editorial Workflow icon in the top-right toolbar. In the classic editor, use the Editorial Workflow box in the sidebar column instead.
Deactivating or deleting the plugin keeps your workflow data by default. To remove everything when the plugin is deleted, tick Delete all workflow data when the plugin is deleted under Editorial Workflow → Settings first; deleting the plugin then removes the activity table, the plugin's post meta, its options and its capabilities.

屏幕截图:

  • The activity timeline: every change, who made it and when.
  • The workflow box in the classic editor.
  • The admin dashboard, with server-side filtering, sorting and search.
  • Bulk actions across a selection of posts.
  • The settings screen, for choosing which post types have a workflow.

升级注意事项:

1.0.0 First release. Activation creates the activity table and grants the workflow capabilities to your existing roles; no existing content is modified.

常见问题:

Does reaching "Published" publish my post?

No, and that is deliberate. The workflow status and the WordPress post status are separate fields. Marking a post as Published in the workflow records that the editorial process is complete; a human still hits Publish. Keeping them apart is what lets a scheduled post keep its schedule while it is being approved, and lets an already-live article go back through a round of edits without disappearing from your site.

Does it send email when I assign a reviewer?

Not in version 1.0. Notifications are on the roadmap. The sit_cwm_reviewer_assigned action fires on every assignment, so a few lines in a site plugin can send whatever you need today.

Can I change who is allowed to approve content?

Yes. The plugin adds six ordinary WordPress capabilities (sit_cwm_*), so any role or capability manager can move them around. For finer rules — "only the assigned reviewer may approve", say — the sit_cwm_can_transition filter has the final word on every decision.

Can I change the statuses or the order they go in?

The sit_cwm_statuses and sit_cwm_transition_map filters replace the status registry and the transition graph. Both results are validated, so a mistake in your code cannot leave the plugin in a broken state. There is no settings screen for editing statuses or building multiple workflows in version 1.0.

Does it work with custom post types?

Yes. Any editorial content type (one with an admin UI, REST API support and the editor feature) can be enabled in the settings. Back-office types such as shop orders and coupons are not offered; developers can change the list with the sit_cwm_available_post_types filter. The plugin uses post meta, so there is nothing to migrate and nothing to convert.

Does it work with the classic editor?

Yes. In the classic editor the workflow controls appear in an Editorial Workflow box in the sidebar column. Changes there save immediately, independently of the Update button.

What happens to my data if I deactivate it?

Deactivating changes nothing — your statuses, reviewers, due dates and history stay. Deleting the plugin keeps them too, unless you have ticked Delete all workflow data when the plugin is deleted under Editorial Workflow → Settings. With that option on, deleting the plugin permanently removes the activity table, workflow post meta, settings and capabilities.

Where are the workflow comments?

In the plugin's own activity table, shown in the timeline in the sidebar (or the classic editor box). They are editorial notes, so they never appear on the front end and are not mixed in with your readers' comments.

Is there an API?

Yes, at /wp-json/sit-cwm/v1/. Eight documented endpoints, all authenticated, all with JSON schemas, and usable with application passwords.

Does the plugin contact any external service?

No. It makes no remote requests, loads nothing from a CDN, sets no cookies of its own and collects no usage data. Everything stays in your WordPress database.

Where is the source code for the JavaScript?

The editor sidebar, classic editor box and dashboard ship as compiled files in assets/build/. The human-readable React source is in the src/ directory of the public repository at https://github.com/rshalihin/sapphireit-editorial-workflow. Run npm install and then npm run build to rebuild the compiled files.

更新日志:

1.0.0