[wp-trac] [WordPress Trac] #7365: Children pages with numerical IDs can't be viewed

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 21 10:56:43 GMT 2008


#7365: Children pages with numerical IDs can't be viewed
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous  
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  2.7        
Component:  General       |     Version:  2.6        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 '''Explaination of Problem / Steps to Reproduce / Expected Outcome'''

 1. Create a Page. The name/stub doesn't matter, just have it be some text.
 Publish it.

 2. Create another Page. Have it's parent be the Page made in step 1. For
 the title, enter a number such as "5". This results in a stub of "5".
 Publish it.

 3. Attempt to view the Page created in step 2. You will note the URL will
 be `/step-1-page/5/` as expected. However, this of course collides with
 the `<!--nextpage-->` feature and results in the Page from step 1 being
 shown.


 '''Suggested Outcome'''

 The paging feature should only take affect if a matching Page cannot be
 found, i.e. `/step-1-page/4/` should show step 1 Page, but
 `/step-1-page/5/` should show step 2 Page.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7365>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list