[wp-trac] [WordPress Trac] #30335: Splitting shared terms on term update breaks backward compatibility when using an old term_id
WordPress Trac
noreply at wordpress.org
Fri Nov 21 03:16:10 UTC 2014
#30335: Splitting shared terms on term update breaks backward compatibility when
using an old term_id
--------------------------+--------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.1
Component: Taxonomy | Version: trunk
Severity: major | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by boonebgorges):
In [changeset:"30494"]:
{{{
#!CommitTicketReference repository="" revision="30494"
Improve cleanup of cached term_ids after shared terms are split.
* If the split term ID is stored as 'default_category',
'default_link_category', or 'default_email_category', update it to the new
ID.
* If the split term ID is associated with a nav menu item, update that
piece of postmeta to the new ID.
Props mboynes.
See #30335.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30335#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list