WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 months ago

#24807 closed defect (bug) (fixed)

$wp_registered_widgets unnecessarily globalized in wp_get_sidebars_widgets()

Reported by: jdgrimes Owned by: nacin
Milestone: 3.7 Priority: normal
Severity: minor Version:
Component: Widgets Keywords: has-patch commit 3.7-early
Focuses: Cc:

Description

$wp_registered_widgets is globalized in wp_get_sidebars_widgets(), but it is not used.

Attachments (1)

widgets.patch (580 bytes) - added by jdgrimes 8 years ago.

Download all attachments as: .zip

Change History (5)

@jdgrimes
8 years ago

#1 @SergeyBiryukov
8 years ago

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

Unused since [18821].

#2 @wonderboymusic
8 years ago

  • Milestone changed from Future Release to 3.7

these are all marked 3.7-early

#3 @nacin
8 years ago

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

In 24978:

Remove reference to unused global. props jdgrimes. fixes #24807.

This ticket was mentioned in Slack in #core by talldanwp. View the logs.


8 months ago

Note: See TracTickets for help on using tickets.