[wp-trac] Re: [WordPress Trac] #7755: Query post like p=xxx?cat=zzz

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 23 00:30:24 GMT 2008


#7755: Query post like p=xxx?cat=zzz
----------------------+-----------------------------------------------------
 Reporter:  arena     |        Owner:  anonymous
     Type:  defect    |       Status:  closed   
 Priority:  normal    |    Milestone:           
Component:  General   |      Version:           
 Severity:  normal    |   Resolution:  wontfix  
 Keywords:  wp_query  |  
----------------------+-----------------------------------------------------
Changes (by DD32):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  2.8 =>

Comment:

 I'm going to close this as a wontfix, AFAIK, WordPress takes the highest
 ranking information it can in order to retrieve the post, If the ID is
 presented, it dives straight to that ID, much less work than doing a SQL
 Join to determine the category's posts, and then matching against the ID.

 And given that WordPress should never generate that URL itself, does it
 need to be taken into account?

 Some modifications to the canonical redirect code could be implemented to
 redirect queries like that to ?p=xx though possibly.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7755#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list