[wp-trac] [WordPress Trac] #14589: tags doesn't list other post types
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 11 16:35:51 UTC 2010
#14589: tags doesn't list other post types
--------------------------+-------------------------------------------------
Reporter: vteixeira | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.0.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Changes (by scribu):
* component: Taxonomy => Query
Comment:
It's a bug. A workaround would be:
`
function post_type_tags_fix($request) {
if ( isset($request['tag']) && !isset($request['post_type]) )
$request['post_type] = 'any';
return $request;
}
add_filter('request', 'post_type_tags_fix');
`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14589#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list