[wp-trac] [WordPress Trac] #11962: The function global_terms() is bugged.
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 21 08:57:32 UTC 2010
#11962: The function global_terms() is bugged.
---------------------------+------------------------------------------------
Reporter: momo360modena | Owner: filosofo
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Taxonomy | Version: 2.9.1
Severity: normal | Keywords: wordpressmu, global tags
---------------------------+------------------------------------------------
The function incriminated :
http://core.trac.wordpress.org/browser/trunk/wp-includes/ms-
functions.php#L1790
I have a custom taxonomy (but i think the problem as the same with
categories/tags), i edit a term with the ID 199.
The update_term fonction of WordPress work normally, but the mu fonction
will return a fake ID in filter.
I edit the term_id 199, the function return 8, and the function update the
database with a incorrect ID on the term_taxonomy table.
In fact, this function update the term ID of term_taxonomy table with the
ID of the global database... Strange !
I do not propose a patch because I do not know if this table will be
preserved in the future.
In the meantime, to correct the problem, it is enough to deactivate the
filter with the function remove_filter() in a mu-plugins
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11962>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list