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

Determine if any changes are required for upcoming "term splitting" #702

Closed
fjarrett opened this issue Feb 16, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@fjarrett
Copy link
Contributor

commented Feb 16, 2015

It was recently announced that WordPress 4.2 will include a long-awaited fix for terms that share the same slug across multiple taxonomies.

We need to determine what changes will be necessary for WP Stream (if any) to ensure full backwards compatibility for users.

@fjarrett

This comment has been minimized.

Copy link
Contributor Author

commented Apr 17, 2015

I have tested this in WordPress 4.2-RC1 and WP Stream does save the new object_id when term splitting occurs, which is the correct behavior. However, previous records for the term that was split won't have the correct object_id.

We can remedy this by using wp_get_split_term() function which accepts the old term ID and taxonomy as parameters and returns the new term ID. And the only thing that needs it is taxonomy Action Links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.