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

WordPress Trac noreply at wordpress.org
Thu Sep 12 02:40:56 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:  has-patch commit  |
------------------------------+-----------------------------

Comment (by nacin):

 Replying to [comment:25 SergeyBiryukov]:
 > Technically, `$args['rewrite']` should only be an array or a boolean
 value, but a string indeed would have worked too, and I guess we shouldn't
 break that.

 For the record, I don't mind breaking that.

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


More information about the wp-trac mailing list