[wp-trac] [WordPress Trac] #23668: Check for empty slug input in register_taxonomy
WordPress Trac
noreply at wordpress.org
Wed Sep 11 17:17:01 UTC 2013
#23668: Check for empty slug input in register_taxonomy
--------------------------+-----------------------------
Reporter: cliffseal | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Taxonomy | Version: 3.5.1
Severity: normal | Resolution: fixed
Keywords: needs-patch |
--------------------------+-----------------------------
Changes (by wonderboymusic):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"25351"]:
{{{
#!CommitTicketReference repository="" revision="25351"
Avoid a notice by casting `$args['rewrite']` to `array()` before adding a
`slug` property and running `array_merge()`.
Fixes #23668.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23668#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list