[wp-testers] Duplicate Taxonomy Bug

Deanna Schneider deanna.schneider at gmail.com
Tue Apr 20 15:29:48 UTC 2010


There's a bug in the taxonomy edit pages (/wp-admin/edit-tags.php). If
you try to add a term that already exists, the following errors are
thrown and display in a red box at the top of the page:

Warning: mysql_real_escape_string() expects parameter 1 to be string,
array given in /home/xxx/wp-includes/wp-db.php  on line 772

Warning: mysql_real_escape_string() expects parameter 1 to be string,
array given in /home/xxx/wp-includes/wp-db.php on line 772

Warning: Cannot modify header information - headers already sent by
(output started at /home/xxx/wp-includes/wp-db.php:772) in
/home/juwcoope/public_html/wp3/wp-includes/classes.php on line 1697

I created a trac ticket here:
https://core.trac.wordpress.org/ticket/13060 if anyone else wants to
do some testing with the proposed solution.

-Deanna


More information about the wp-testers mailing list