Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9738 closed defect (bug) (fixed)

r11210 (leading slashes) breaks wp_list_pages

Reported by: demetris's profile demetris Owned by: ryan's profile ryan
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Permalinks Keywords:
Focuses: Cc:

Description

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.

Change History (2)

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11218]) Revert[11210]. fixes #9738 see #9515

#2 @peaceablewhale
16 years ago

@demetris:

I have uploaded new patch in #9515 that should fix the problem you reported. Would you test it? Thanks!

Note: See TracTickets for help on using tickets.