[wp-trac] [WordPress Trac] #29848: Caching problems when using 'alias_of' in wp_update_term() and wp_insert_term()
WordPress Trac
noreply at wordpress.org
Fri Oct 3 03:51:03 UTC 2014
#29848: Caching problems when using 'alias_of' in wp_update_term() and
wp_insert_term()
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.1
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Comment (by boonebgorges):
Oh, almost forgot this important bullet point:
* Fix a PHP notice and incorrect `term_group` assignment when the term
referenced in the 'alias_of' param does not exist. Currently, if the
direct query turns up a `$null` alias, a new term group is created and the
primary term is added to it (though not the aliased term, since there is
no aliased term)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29848#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list