Skip to content
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

Feature Request: Stash the previous post type #50

Open
JJJ opened this issue Feb 29, 2024 · 0 comments
Open

Feature Request: Stash the previous post type #50

JJJ opened this issue Feb 29, 2024 · 0 comments
Assignees
Milestone

Comments

@JJJ
Copy link
Owner

JJJ commented Feb 29, 2024

See: https://wordpress.org/support/topic/featured-request-keep-a-copy-of-the-original-post-type/

This poses a number of engineering challenges due to how the Revisions API works, and the facts that not-all-post-types support them and they can be totally disabled & filtered to do weird stuff.

I think it'll just be easiest to keep it very simple instead; stash the last post_type value in wp_postmeta, and only use that value to add some emphasis on the GUI elements, to introduce a very-very-very simple "revert" or "undo" or "this used to be" kind of hint.

I'm not certain that going back & forth multiple times is the most common path, but I am aware that users do like to test the limits of this plugin and the best way to do that is to change something and then change it back, so I can imagine how some awareness of that would be helpful!

@JJJ JJJ added this to the 4.0.0 milestone Feb 29, 2024
@JJJ JJJ self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant