WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#9291 closed defect (bug) (fixed)

feed_links_extra() DRY

Reported by: scribu Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Feeds Keywords: has-patch
Focuses: Cc:

Description

The feed_links_extra() template tag is a nice addition, but it's coding currently breaks the DRY principle (Don't Repeat Yourself).

This patch separates the varibles so that the output format is only written once.

Attachments (1)

feed_links_extra_DRY.patch (3.0 KB) - added by scribu 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @scribu
12 years ago

  • Cc scribu@… added
  • Component changed from General to Feeds
  • Owner anonymous deleted
  • Version set to 2.8

#2 @scribu
12 years ago

  • Milestone changed from Unassigned to 2.8

#3 @azaozz
12 years ago

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

(In [10741]) feed_links_extra() DRY, props scribu, fixes #9291

Note: See TracTickets for help on using tickets.