[wp-trac] [WordPress Trac] #14589: tags doesn't list other post types
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 12 06:28:41 UTC 2010
#14589: tags doesn't list other post types
-------------------------+--------------------------------------------------
Reporter: vteixeira | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.0.1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by vteixeira):
Hi, just a follow up.
I got it working with this code:
{{{
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');
}}}
But I still think it should be the default behavior.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14589#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list