[buddypress-trac] [BuddyPress Trac] #5385: Add default options at installation/upgrade to 2.0
buddypress-trac
noreply at wordpress.org
Mon Feb 17 00:42:06 UTC 2014
#5385: Add default options at installation/upgrade to 2.0
--------------------------+---------------------------
Reporter: boonebgorges | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.0
Component: Core | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"7904"]:
{{{
#!CommitTicketReference repository="" revision="7904"
Install default options at installation time and at upgrade to 2.0
When BuddyPress is installed, all basic config options should be saved to
the
database, even when the setting is empty (0). This ensures that the
options
will be pre-fetched by the first call to wp_load_alloptions() and stored
in the
non-persistent cache, removing the necessity to make additional failed
queries
to the wp_options table.
This changeset also includes logic to add missing default options to
existing
default installations when upgrading to 2.0.
Fixes #5385
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5385#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list