-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add Revisions Block to Display Post Revision History #69849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Add Revisions Block to Display Post Revision History #69849
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
I don't think that this block would be useful for the majority of the WordPress users and I think it should be in a separate plugin. |
|
Thanks for the feedback! While this block may not be for everyone, like many other blocks, it can still be valuable for a wide range of users. WordPress powers countless content-driven organizations — newsrooms, documentation sites, Education platforms, agencies — where content changes are frequent and often collaborative. The Revisions Block brings editorial transparency by showing when and by whom changes were made. This can build trust between content teams and end users. That said, I’m open to further discussion on whether this might be better suited as a plugin for specific use cases. |
|
Looking at my own content, some of my old pages have over 200 revisions. It does not make sense even for a news agency to display 200 revisions where some of them are changing the height of a spacer block. |
|
Yes, I also noticed that, and I'm working on a solution using |
|
A list of who updated a post and when doesn't seem useful to end users. I think end users want to know why and how it was updated. And that information is difficult to generate automatically from revision lists. I'm not sure if this block is needed by 80% or more of users. WordPress philosophy states:
|
What?
This PR introduces a Revisions Block that displays a list of revisions for the current post, page, or custom post type.
Closes #40389
Why?
WordPress supports post revisions, but currently lacks a block-based way to visualize or output revision history on the front end or within block templates. Showing this information improves editorial transparency and can be useful in collaborative environments (e.g., newsroom sites, documentation pages).
How?
Displays list of revisions with:
Displays total revision count:
Set limit revisions:
Conditionally Rendered: Only shown if revisions are enabled for the post type.
Testing Instructions
Screenshots or screencast
revision.block.mov