Make WordPress Core


Ignore:
Timestamp:
08/13/2017 12:56:24 AM (9 years ago)
Author:
westonruter
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r41199 r41244  
    33043304 */
    33053305function _delete_option_fresh_site() {
    3306         update_option( 'fresh_site', 0 );
     3306        update_option( 'fresh_site', '0' );
    33073307}
    33083308
Note: See TracChangeset for help on using the changeset viewer.