Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 6 years ago

#24807 closed defect (bug) (fixed)

$wp_registered_widgets unnecessarily globalized in wp_get_sidebars_widgets()

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

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 13 years ago.

Download all attachments as: .zip

Change History (5)

@jdgrimes
13 years ago

#1 @SergeyBiryukov
13 years ago

  • Keywords commit 3.7-early added
  • Milestone Awaiting Review → Future Release

Unused since [18821].

#2 @wonderboymusic
13 years ago

  • Milestone Future Release → 3.7

these are all marked 3.7-early

#3 @nacin
13 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → 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.


6 years ago

Note: See TracTickets for help on using tickets.