[wp-trac] [WordPress Trac] #38533: Introduce a flag to indicate a "fresh site"
WordPress Trac
noreply at wordpress.org
Thu Oct 27 21:47:11 UTC 2016
#38533: Introduce a flag to indicate a "fresh site"
-----------------------------+------------------
Reporter: helen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------
Changes (by ocean90):
* keywords: => has-patch
Comment:
[attachment:38533.1.diff] sets the option to `0` so the option is
autoloaded to prevent further db queries.
Not sure about the `get_option()` in default-filters though, looks like
it's first one that runs so early. Currently it's
`wp_plugin_directory_constants()` with `get_option('siteurl')` so I guess
it's fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38533#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list