[wp-trac] [WordPress Trac] #23668: Check for empty slug input in register_taxonomy
WordPress Trac
noreply at wordpress.org
Thu Sep 12 02:41:55 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:27 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.
And it wouldn't work anyway. This would only work if someone passed $args
as an array but `$args['rewrite']` as a query string. I believe the
technical term for that is "stupid".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23668#comment:28>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list