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

Consider detecting when content types could use a resave and notify users. #780

Open
tw2113 opened this issue Feb 12, 2020 · 1 comment
Open

Comments

@tw2113
Copy link
Member

tw2113 commented Feb 12, 2020

Source: https://wordpress.org/support/topic/replacing-plugin-with-cptui_register_my_cpts-doesnt-work/#post-12424251

Basically the user had some older post types that didn't have all the indexes for the version at the time. Because of that, get code functionality was missing some values that were expected.

This could also help with future cases of undefined index warnings.

So, if we have a release that introduces new fields, either notify everyone right away, or do a scan of existing option values to notify.

@tw2113
Copy link
Member Author

tw2113 commented Aug 2, 2022

Closing the previous PR attempt, as I believe that was going in a direction that we didn't need to, in the end.

Leaving as a future release as I don't have strong feelings on this, but there is at least some potential need, depending on how we settle on handling.

@tw2113 tw2113 added this to the future release milestone Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant