Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#24807 closed defect (bug) (fixed)

$wp_registered_widgets unnecessarily globalized in wp_get_sidebars_widgets()

Reported by: jdgrimes's profile jdgrimes Owned by: nacin's profile 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 11 years ago.

Download all attachments as: .zip

Change History (5)

@jdgrimes
11 years ago

#1 @SergeyBiryukov
11 years ago

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

Unused since [18821].

#2 @wonderboymusic
11 years ago

  • Milestone changed from Future Release to 3.7

these are all marked 3.7-early

#3 @nacin
11 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.


4 years ago

Note: See TracTickets for help on using tickets.