[wp-trac] [WordPress Trac] #9738: r11210 (leading slashes) breaks wp_list_pages

WordPress Trac wp-trac at lists.automattic.com
Wed May 6 10:08:59 GMT 2009


#9738: r11210 (leading slashes) breaks wp_list_pages
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  2.8 
Component:  Permalinks    |     Version:  2.8 
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------
 r11209 is OK.

 r11210 (relevant ticket: #9515) seems to break wp_list_pages.

 Confirmed with several setups/themes.

 If I use a permalink structure such as:

 {{{
 /%post_id%/%postname%/
 }}}

 OR

 {{{
 /%post_id%/
 }}}

 ... then everything works OK

 If I remove trailing slashes from the permalink structure, that is:

 {{{
 /%post_id%/%postname%
 }}}

 OR

 {{{
 /%post_id%
 }}}

 ... then wp_list_pages gives links missing one slash:

 http://example.netpage OR

 http://example.netpage/subpage

 Please let me know if you need more information.

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


More information about the wp-trac mailing list