Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#14816 closed defect (bug) (fixed)

Optimise dynamic_sidebar

Reported by: hakre Owned by:
Milestone: 3.2 Priority: normal
Severity: normal Version: 3.1
Component: Widgets Keywords: has-patch 3.2-early commit
Focuses: Cc:

Description (last modified by westi)

Rasmus Lerdorf did some changes to Wordpress for a hphp compilation / performance presentation.

dynamic_sidebar can get out early if there are no sidebars.

Attachments (1)

14816-widgets.patch (509 bytes) - added by hakre 5 years ago.

Download all attachments as: .zip

Change History (7)

5 years ago


#1 @hakre
5 years ago

Rest seems to be already fixed.

Version 0, edited 5 years ago by hakre (next)

#2 @hakre
5 years ago

And if not, probably already reported, like the constructor stuff from the presentation: #10861

#3 @hakre
5 years ago

Related: #14429
Related: [15639]
Related: [15637]
Related: [13684]

#4 @westi
5 years ago

  • Component changed from General to Widgets
  • Description modified (diff)
  • Keywords has-patch 3.2-early commit added
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Diverse Stuff from Rasmus Lerdorfs Patch to Optimise dynamic_sidebar
  • Version set to 3.1

#5 @nacin
5 years ago

  • Milestone changed from Future Release to 3.2

#6 @nacin
5 years ago

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

(In [17545]) Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816.

Note: See TracTickets for help on using tickets.