[wp-trac] [WordPress Trac] #19471: Automatically support custom post types in category and tag archives

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 7 23:24:33 UTC 2011


#19471: Automatically support custom post types in category and tag archives
--------------------------+------------------------------
 Reporter:  chrisbliss18  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by chrisbliss18):

 Replying to [comment:4 scribu]:
 > Isn't this what register_taxonomy_for_object_type() is for?
 register_taxonomy_for_object_type only does what the object_type arg of
 the register_taxonomy function does except for
 register_taxonomy_for_object_type is additive.

 I have no doubt that this was supposed to work, but as you can see from
 using the attached plugin, it doesn't as the query only checks is_tax.

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


More information about the wp-trac mailing list