WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#36243 closed enhancement (fixed)

removed not used variables in wp_get_archives()

Reported by: pbearne Owned by: SergeyBiryukov
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.6
Component: General Keywords:
Focuses: template Cc:

Description

A patch to remove variables that are never used / duplicated to make code cleaner in wp_get_archives()

Attachments (1)

general-template.php.patch (1.1 KB) - added by pbearne 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
5 years ago

  • Focuses template added

#2 @SergeyBiryukov
5 years ago

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

In 37005:

Remove several one-time variables from wp_get_archives(), added in [24] and [190].

Props pbearne for initial patch.
Fixes #36243.

#3 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 4.5
Note: See TracTickets for help on using tickets.