My plugins and WordPress 4.2

WordPress 4.2 comes out tomorrow, and one of the important changes for developersĀ relates to how taxonomy terms are handled.Ā As part of a multi-release effort to improve the database schema for taxonomies and their terms, an antiquated feature of WordPress is being undone.Ā In short, terms with the same nameĀ are no longer shared across taxonomies, and 4.2 will start splitting shared terms on update. For example, if you have a category calledĀ MusingsĀ and a tag of the same name,Ā they’ll no longer share a term ID once edited in WordPress 4.2 and later.

For developers who are storing term IDs as part of the code they’ve written, this means our code now needs to account forĀ the changing term IDs. Thankfully, WordPress Core provides an action, split_shared_term, for doing so.

Of the several plugins I’ve released, only two are impacted by this change. Today I released updates for both, so they now properly handle the changes coming with tomorrow’s WordPress release.

If you’re using eitherĀ of these plugins, please update to their latest versions before editing your categories, tags, or custom taxonomy terms:

2 thoughts on “My plugins and WordPress 4.2”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)