[wp-trac] [WordPress Trac] #20922: Twenty Eleven hides category and tag text on custom post types being included into loop using 'pre_get_posts' action

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 12 14:45:12 UTC 2012


#20922: Twenty Eleven hides category and tag text on custom post types being
included into loop using 'pre_get_posts' action
---------------------------+------------------------------
 Reporter:  Marko-M        |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------
Changes (by nacin):

 * version:  3.3.2 => 3.2
 * component:  General => Bundled Theme


Comment:

 What we should probably use instead is `is_object_in_taxonomy(
 get_post_type(), 'post_tag' )` and `'category'`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20922#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list