Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#24444 closed defect (bug) (fixed)

get_the_category_rss should call get_bloginfo_rss

Reported by: ejdanderson's profile ejdanderson Owned by: drewapicture's profile DrewAPicture
Milestone: 4.0 Priority: normal
Severity: trivial Version:
Component: Feeds Keywords: has-patch 4.0-early
Focuses: Cc:


Currently get_the_category_rss runs the get_bloginfo_rss filter on a get_bloginfo call. I don't see why its not just calling get_bloginfo_rss. At the very least, the filter needs the extra 'show' argument at the end to be consistant with the filter in other places.

Attachments (1)

feed.diff (775 bytes) - added by ejdanderson 11 years ago.
replace get_bloginfo with get_bloginfo_rss

Download all attachments as: .zip

Change History (7)

11 years ago

replace get_bloginfo with get_bloginfo_rss

#1 @DJPaul
11 years ago

  • Cc djpaul@… added

The current behaviour also causes PHP Warnings for plugins that filter "get_bloginfo_rss" and expect two parameters.

#2 @SergeyBiryukov
10 years ago

  • Keywords 4.0-early added
  • Milestone changed from Awaiting Review to Future Release

#3 @wonderboymusic
10 years ago

  • Milestone changed from Future Release to 4.0

#4 @wonderboymusic
10 years ago

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

In [28258].

#5 @DrewAPicture
10 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

The filter was removed in [28258] but not the doc line. Fixing ...

#6 @DrewAPicture
10 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from reopened to closed

In 28283:

Where a filter no longer exists, it need not be notated.

Fixes #24444. See r28258.

Note: See TracTickets for help on using tickets.