[wp-trac] [WordPress Trac] #54677: Default widgets with alternative option name causing unnecessary database queries
WordPress Trac
noreply at wordpress.org
Fri Sep 9 02:17:47 UTC 2022
#54677: Default widgets with alternative option name causing unnecessary database
queries
-------------------------------------------------+-------------------------
Reporter: Chouby | Owner:
| peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Widgets | Version: 5.8
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing has-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54112" 54112]:
{{{
#!CommitTicketReference repository="" revision="54112"
Widgets: Store default options for uninitialized widgets.
Prevent unnecessary database queries on page load by initializing widget
options. On sites with uninitialized widgets, this prevents one or two
database queries per uninitialized widget on each page load.
Props Chouby, mvraghavan, costdev, peterwilsoncc, spacedmonkey, mukesh27.
Fixes #54677.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54677#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list