Make WordPress Core

Opened 2 years ago

Closed 2 years 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:


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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

2 years ago

#1 @SergeyBiryukov
2 years ago

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

Unused since [18821].

#2 @wonderboymusic
2 years ago

  • Milestone changed from Future Release to 3.7

these are all marked 3.7-early

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

Note: See TracTickets for help on using tickets.