[wp-trac] [WordPress Trac] #30679: Clicking "Restore this Revision" publishes immediately
WordPress Trac
noreply at wordpress.org
Fri Dec 26 16:10:21 UTC 2014
#30679: Clicking "Restore this Revision" publishes immediately
---------------------------+------------------------------
Reporter: paulschreiber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by adamsilverstein):
Julien,
Thanks for your offer of help!
I agree, this would be a great feature to have. #23314 is very close to
this ticket, almost a duplicate? A good fix would solve both cases.
There are actually several related tickets, including #23314 and #20299 -
all these tickets would benefit from something missing from core - the
revisioning of post meta (see #20564) - without that feature, the data
stored for each revision is limited to the primary editor fields (title,
content, excerpt, etc.). We got the hooks needed for this feature into
4.1, leveraged by the plugin linked from the ticket.
If the button were to restore the content only to the editor and not
publish the restored revision, how would you change the button text to
indicate that action? 'Restore revision data to editor' ? (thats a
mouthful!)
Replying to [comment:2 jlambe]:
> This could be a great feature. I'm having a situation where I need to
maintain documentation pages (saved as WordPress pages post type). One
revision is published but now we need to update its content with new
features for example.
>
> So start typing and adding new lines in the editor of the current
published revision. What would be great is a "Save as a revision" kind of
button which will save the new changes but without publishing them. Then
allow a user to logout and come back anytime edit the revision and when
everything seems good, have the choice to publish it.
>
> Like @paulshriber explains, it's not clear what the "Restore this
revision" button is doing. As a end-user, I expected it to load its
content inside the editor, allow me to edit it and perhaps publish it
immediately right after.
>
> Really looking into this feature and I can help too ;)
>
> Was looking at older tickets for this component and it looks like this
could be related with this ticket:
[https://core.trac.wordpress.org/ticket/23314]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30679#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list