mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Customize: Prevent _delete_option_fresh_site()
from hitting DB if fresh_site
flag already cleared.
Amends [38991]. Props dlh, westonruter. Fixes #41039. Built from https://develop.svn.wordpress.org/trunk@41244 git-svn-id: http://core.svn.wordpress.org/trunk@41084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6428de97a7
commit
300894da61
@ -3303,7 +3303,7 @@ function _config_wp_siteurl( $url = '' ) {
|
|||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
function _delete_option_fresh_site() {
|
function _delete_option_fresh_site() {
|
||||||
update_option( 'fresh_site', 0 );
|
update_option( 'fresh_site', '0' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41243';
|
$wp_version = '4.9-alpha-41244';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user