[wp-trac] [WordPress Trac] #23668: Check for empty slug input in register_taxonomy
WordPress Trac
noreply at wordpress.org
Wed Sep 11 01:50:18 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 |
--------------------------+-----------------------------
Changes (by nacin):
* keywords: has-patch commit => needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
I don't think [25335] needs a revert, but the use of wp_parse_args() there
means a query string is valid, so it needs an adjustment. I am fine with
actually converting this to array_merge()* and removing the parse_str, but
either way, we should try to avoid what we're doing.
* Keeping in mind that the arguments would also need to be flipped.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23668#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list