[wp-trac] [WordPress Trac] #12250: Generate 404s consistently when querying something that does not exist

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 12:36:39 UTC 2010


#12250: Generate 404s consistently when querying something that does not exist
--------------------------+-------------------------------------------------
 Reporter:  markjaquith   |       Owner:  ryan     
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Permalinks    |     Version:           
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 Hmm, now after thinking about it more clearly, please ignore the first
 part of my last comment.

 It is talking about queried objects here and I just think that a 404
 response might be seen as a queried object as well. Additionally a
 wordpress response can contain multiple queried object, e.g. we can get a
 post and a single object. So this is really not simple to discuss so that
 everybody understands what this is about.

 To make things simple I tend to say that the current implementation of the
 http response code (200, 404) done by core is what is to be expected. So
 this rather is not a bug but a feature request.

 A theme itself might have bugs if it does not properly handle the repsonse
 according to the response code but than this would be a bug inside the
 theme and not inside the core.

 Can the reporter who stated "WordPress 404s are inconsistent." please
 provide the specs against which those are inconsistent? I know there was
 discussion but before doing any decisions here I would like to see this
 properly argumented.

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


More information about the wp-trac mailing list