Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#18610 closed defect (bug) (fixed)

show_option_all for wp_list_categories doesn't respect 'Posts page'

Reported by: smerriman's profile smerriman Owned by: ryan's profile ryan
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

In the wp_list_categories function, if show_option_all is set, a link for 'showing all categories' is included to get_bloginfo( 'url' ).

This should instead be linking to the Posts Page set on Settings - Reading if it has been set.

Attachments (1)

18610.diff (1.1 KB) - added by solarissmoke 13 years ago.

Download all attachments as: .zip

Change History (4)

@solarissmoke
13 years ago

#1 @solarissmoke
13 years ago

  • Keywords has-patch added

Patch fixes that. I've also added a bit of escaping to the URL's, as it seems to be what happens most other places.

#2 @SergeyBiryukov
13 years ago

  • Milestone changed from Awaiting Review to 3.3

#3 @ryan
13 years ago

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

In [19273]:

Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610

Note: See TracTickets for help on using tickets.