[wp-trac] [WordPress Trac] #17316: Don't 404 on empty post type archives

WordPress Trac wp-trac at lists.automattic.com
Sat May 14 19:51:14 UTC 2011


#17316: Don't 404 on empty post type archives
--------------------------+------------------
 Reporter:  jfarthing84   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Post Types    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 Replying to [comment:5 jfarthing84]:
 > We very well could, since if there ''is'' a queried object, it shouldn't
 be a 404.

 Not sure about that -- the conditionals removed in that patch, even when
 including is_post_type_archive(), is a subset of what's checked in
 get_queried_object().

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


More information about the wp-trac mailing list