Navigation Menu

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 · Fixed by #713
Closed

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

fjarrett opened this issue Feb 16, 2015 · 1 comment · Fixed by #713

Comments

@fjarrett
Copy link
Contributor

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
Copy link
Contributor Author

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant