[wp-trac] [WordPress Trac] #23668: Check for empty slug input in register_taxonomy
WordPress Trac
noreply at wordpress.org
Mon Apr 8 13:42:23 UTC 2013
#23668: Check for empty slug input in register_taxonomy
--------------------------------------------------+--------------------
Reporter: cliffseal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Taxonomy | Version: 3.5.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs-testing |
--------------------------------------------------+--------------------
Comment (by SergeyBiryukov):
Looks like [attachment:emptytax.diff] is missing
`sanitize_title_with_dashes()`. See [attachment:23668.patch].
`register_post_type()`, on the other hand, uses `sanitize_key()`: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-
includes/post.php#L1234
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23668#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list