Changeset 32943
- Timestamp:
- 06/25/2015 07:00:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r32613 r32943 84 84 wp_cache_add( $option, $value, 'options' ); 85 85 } else { // option does not exist, so we must cache its non-existence 86 if ( ! is_array( $notoptions ) ) { 87 $notoptions = array(); 88 } 86 89 $notoptions[$option] = true; 87 90 wp_cache_set( 'notoptions', $notoptions, 'options' ); … … 1025 1028 wp_cache_set( $cache_key, $value, 'site-options' ); 1026 1029 } else { 1030 if ( ! is_array( $notoptions ) ) { 1031 $notoptions = array(); 1032 } 1027 1033 $notoptions[$option] = true; 1028 1034 wp_cache_set( $notoptions_key, $notoptions, 'site-options' );
Note: See TracChangeset
for help on using the changeset viewer.