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

WordPress Trac noreply at wordpress.org
Sun Nov 11 12:32:08 UTC 2012


#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:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by mdgl):

 Replying to [comment:21 wonderboymusic]:
 > Supporting a taxonomy in a post type does not mean that the post should
 appear on archive / tax archive pages
 >

 Are you kidding?  Surely if I declare a new *public* post type and
 explicitly register it with a common taxonomy such as "category" or
 "post_tag" then that's exactly what I am declaring! In this case, the new
 post type should appear in all of the registered taxonomy archives.

 Your use case of "modules" sounds more like a *private* post type or your
 own new (and hence to some extent "private") taxonomy, perhaps both.

 I think this is worth another look early in 3.6.  Quite a lot has changed
 since the ticket was opened and as chrisbliss18 points out in comment:16
 and comment:18, the reverted patch [16505] was far more risky than what I
 believe is actually required to fix this issue (even if WP.com are "doing
 it wrong" :-).  We do need a brand new patch, however.

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


More information about the wp-trac mailing list