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:
@@ -3303,7 +3303,7 @@ function _config_wp_siteurl( $url = '' ) {
|
||||
* @access private
|
||||
*/
|
||||
function _delete_option_fresh_site() {
|
||||
update_option( 'fresh_site', 0 );
|
||||
update_option( 'fresh_site', '0' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user