[wp-trac] [WordPress Trac] #23668: Check for empty slug input in register_taxonomy

WordPress Trac noreply at wordpress.org
Wed Sep 11 08:30:19 UTC 2013


#23668: Check for empty slug input in register_taxonomy
--------------------------+-----------------------------
 Reporter:  cliffseal     |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.7
Component:  Taxonomy      |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------

Comment (by jond3r):

 [25335] causes a Warning and Notice all over front-end and back-end (using
 PHP 5.3.8):

 Warning: Cannot use a scalar value as an array in \WordpressTrunk\wp-
 includes\taxonomy.php on line 356
 Notice: Undefined index: slug in \WordpressTrunk\wp-includes\taxonomy.php
 on line 369

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23668#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list