WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 2 months ago

#24444 closed defect (bug) (fixed)

get_the_category_rss should call get_bloginfo_rss

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

Description

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 14 months ago.
replace get_bloginfo with get_bloginfo_rss

Download all attachments as: .zip

Change History (7)

ejdanderson14 months ago

replace get_bloginfo with get_bloginfo_rss

comment:1 DJPaul13 months ago

  • Cc djpaul@… added

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

comment:2 SergeyBiryukov4 months ago

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

comment:3 wonderboymusic2 months ago

  • Milestone changed from Future Release to 4.0

comment:4 wonderboymusic2 months ago

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

In [28258].

comment:5 DrewAPicture2 months ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:6 DrewAPicture2 months 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.