Customize: Prevent _delete_option_fresh_site() from hitting DB if fresh_site flag already cleared.

Amends [38991].
Props dlh, westonruter.
Fixes #41039.


git-svn-id: https://develop.svn.wordpress.org/trunk@41244 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2017-08-13 00:56:24 +00:00
parent 7bff33a6eb
commit b4a8af7e35
2 changed files with 27 additions and 3 deletions
+1 -1
View File
@@ -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' );
}
/**