[wp-trac] [WordPress Trac] #15433: Don't use 'name' query var if 'p' is already set

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 15 15:16:25 UTC 2010


#15433: Don't use 'name' query var if 'p' is already set
--------------------------+-------------------------------------------------
 Reporter:  scribu        |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.1     
Component:  Query         |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by filosofo):

 To put it another way, if
 123 => 'a-post', 456 => 'another-post',

 Although from a database perspective the post object is more precise, from
 a human perspective--which is the main reason for permalinks-as-sanitized-
 titles--it's not obvious that

 `/123/another-post/`

 would return the content for "a-post" and not "another-post."  It should
 at least fail.

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


More information about the wp-trac mailing list