Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#9738 closed defect (bug) (fixed)

r11210 (leading slashes) breaks wp_list_pages

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

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
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#2 @peaceablewhale
18 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.