diff options
| -rw-r--r-- | wp-inst/wp-includes/wpmu-functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/wpmu-functions.php b/wp-inst/wp-includes/wpmu-functions.php index 062d0b5..958767e 100644 --- a/wp-inst/wp-includes/wpmu-functions.php +++ b/wp-inst/wp-includes/wpmu-functions.php @@ -479,7 +479,7 @@ function add_site_option( $key, $value ) { $exists = $wpdb->get_var("SELECT meta_value FROM $wpdb->sitemeta WHERE meta_key = '$key' AND site_id = '$wpdb->siteid'"); - if ( false !== $exists ) // If we already have it + if ( null !== $exists ) // If we already have it return false; if ( is_array($value) || is_object($value) ) |
