[wp-trac] [WordPress Trac] #12891: Advanced multi-taxonomy WP_Query()s
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 20 21:08:42 UTC 2010
#12891: Advanced multi-taxonomy WP_Query()s
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Query | Version: 3.0.1
Severity: normal | Keywords: ongoing-project
----------------------------+-----------------------------------------------
Comment(by ryan):
{{{
$q['category_name'] = implode('/', array_map('sanitize_title',
explode('/', $q['category_name'])));
}}}
The sanitize_title() allowed full names to be passed.The intention was for
only slugs to be passed, but the code allowed full names to work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12891#comment:159>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list