mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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