Changeset 58782 for trunk/src/wp-includes/option.php
- Timestamp:
- 07/23/2024 12:25:19 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r58416 r58782 1218 1218 wp_cache_delete( $option, 'options' ); 1219 1219 } 1220 1221 $notoptions = wp_cache_get( 'notoptions', 'options' ); 1222 1223 if ( ! is_array( $notoptions ) ) { 1224 $notoptions = array(); 1225 } 1226 $notoptions[ $option ] = true; 1227 1228 wp_cache_set( 'notoptions', $notoptions, 'options' ); 1220 1229 } 1221 1230 … … 2285 2294 do_action( 'delete_site_option', $option, $network_id ); 2286 2295 2296 $notoptions_key = "$network_id:notoptions"; 2297 $notoptions = wp_cache_get( $notoptions_key, 'site-options' ); 2298 2299 if ( ! is_array( $notoptions ) ) { 2300 $notoptions = array(); 2301 } 2302 $notoptions[ $option ] = true; 2303 wp_cache_set( $notoptions_key, $notoptions, 'site-options' ); 2304 2287 2305 return true; 2288 2306 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)