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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 1 16:37:59 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:          
Component:  Query         |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by mlazarov):

  * status:  closed => reopened
  * resolution:  wontfix =>


Comment:

 Replying to [comment:7 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.
 >

 wp will redirect '/123/another-post/' to '/123/a-post/' ?

 That's one side of the problem. Please read all the first post. Second
 part of it describes second problem which now isn't solved.

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


More information about the wp-trac mailing list