Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Showing subtitle revisions in post preview #59

Open
homeofmatt opened this issue Sep 8, 2015 · 5 comments
Open

Showing subtitle revisions in post preview #59

homeofmatt opened this issue Sep 8, 2015 · 5 comments

Comments

@homeofmatt
Copy link

When I edit the subtitle of a pre-existing post, and then click the 'Preview Changes' button before publishing, the subtitle edits don't show. Only saved subtitles show if there are any.
I did some digging myself, and found the '_wp_post_revision_fields' method, which defines the native fields to be included as revisions (post_title, post_content, & post_excerpt). In fact, the entire revision.php file seems to play the main role in defining what goes on in generating these previews.
I'm wondering if you have any thoughts on implementing the post_subtitle meta field to these revision fields somehow.
I found some further information here: https://johnblackbourn.com/post-meta-revisions-wordpress
More discussion here: https://core.trac.wordpress.org/ticket/13382
And it seems there's a very old plugin here: https://wordpress.org/plugins/custom-field-revisions/
that did exactly what I'm talking about, but that hasn't been updated in over two years, making it potentially dangerous to include (the author even stated that his plugin no longer works with current wp).
Let me know what you think or just give me some pointers if you can.
Thanks,
Matt

@philiparthurmoore
Copy link
Member

Hi Matt,

This seems like a 100% legitimate and excellent request. Please let me get back to you when I've added this into the plugin. I will have some time in the coming week or so to release a new version, and this will be something that I look into.

Cheers,
Philip

@homeofmatt
Copy link
Author

Thanks!

@homeofmatt
Copy link
Author

@philiparthurmoore Just wondering what the ETA on this is at this point

@philiparthurmoore
Copy link
Member

No ETA right now, unfortunately. I'm transferring the plugin over to the company account and then diving back into a round of improvements. I promise to get back to you as soon as I've investigated this further. Shouldn't be much longer but I can't promise an ETA.

@philiparthurmoore
Copy link
Member

Not making the cut for the next release. I need some time to get this right. Will jump back into this very soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants