Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9629 closed task (blessed) (fixed)

Upgrade widget options only from admin

Reported by: ryan Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: Widgets Keywords: widgets
Focuses: Cc:


Currently, loading the front page of the blog will result in widget options being upgraded. On high-traffic sites and MU installs with lots of blogs, this results in a lot of writes to the options table[s]. Upgrades should be done only for admin page loads (perhaps even only for widgets admin page). For front page loads, the widgets options should be upgraded in memory but not saved to the options table.

Attachments (1)

9629.diff (2.6 KB) - added by ryan 9 years ago.

Download all attachments as: .zip

Change History (2)

9 years ago

#1 @azaozz
9 years ago

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

(In [11074]) Upgrade widget options only from admin, props ryan, fixes #9629

Note: See TracTickets for help on using tickets.