You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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.
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.
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
The text was updated successfully, but these errors were encountered: