Changeset 5500
- Timestamp:
- 05/21/07 16:38:53 (1 year ago)
- Files:
-
- branches/2.2/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/wp-includes/functions.php
r5492 r5500 323 323 324 324 $notoptions = wp_cache_get('notoptions', 'options'); 325 if ( is set($notoptions[$option_name]) ) {325 if ( is_array($notoptions) && isset($notoptions[$option_name]) ) { 326 326 unset($notoptions[$option_name]); 327 327 wp_cache_set('notoptions', $notoptions, 'options'); … … 357 357 // Make sure the option doesn't already exist we can check the cache before we ask for a db query 358 358 $notoptions = wp_cache_get('notoptions', 'options'); 359 if ( is set($notoptions[$name]) ) {359 if ( is_array($notoptions) && isset($notoptions[$name]) ) { 360 360 unset($notoptions[$name]); 361 361 wp_cache_set('notoptions', $notoptions, 'options');
