@@ 1255-1258 (lines=4) @@ | ||
1252 | ||
1253 | // This option exists now |
|
1254 | $notoptions = wp_cache_get( $notoptions_key, 'site-options' ); // yes, again... we need it to be fresh |
|
1255 | if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) { |
|
1256 | unset( $notoptions[ $option ] ); |
|
1257 | wp_cache_set( $notoptions_key, $notoptions, 'site-options' ); |
|
1258 | } |
|
1259 | } |
|
1260 | ||
1261 | if ( $result ) { |
|
@@ 1432-1435 (lines=4) @@ | ||
1429 | ||
1430 | $notoptions_key = "$network_id:notoptions"; |
|
1431 | $notoptions = wp_cache_get( $notoptions_key, 'site-options' ); |
|
1432 | if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) { |
|
1433 | unset( $notoptions[ $option ] ); |
|
1434 | wp_cache_set( $notoptions_key, $notoptions, 'site-options' ); |
|
1435 | } |
|
1436 | ||
1437 | if ( ! is_multisite() ) { |
|
1438 | $result = update_option( $option, $value, 'no' ); |