Changeset 42833 for trunk/src/wp-includes/option.php
- Timestamp:
- 03/13/2018 03:36:14 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r42655 r42833 1248 1248 $notoptions = wp_cache_get( $notoptions_key, 'site-options' ); 1249 1249 1250 if ( is set( $notoptions[ $option ] ) ) {1250 if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) { 1251 1251 1252 1252 /** … … 1294 1294 } 1295 1295 } 1296 } 1297 1298 if ( ! is_array( $notoptions ) ) { 1299 $notoptions = array(); 1300 wp_cache_set( $notoptions_key, $notoptions, 'site-options' ); 1296 1301 } 1297 1302
Note: See TracChangeset
for help on using the changeset viewer.