Changeset 5501
- Timestamp:
- 05/21/07 16:39:08 (1 year ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r5492 r5501 331 331 332 332 $notoptions = wp_cache_get('notoptions', 'options'); 333 if ( is set($notoptions[$option_name]) ) {333 if ( is_array($notoptions) && isset($notoptions[$option_name]) ) { 334 334 unset($notoptions[$option_name]); 335 335 wp_cache_set('notoptions', $notoptions, 'options'); … … 365 365 // Make sure the option doesn't already exist we can check the cache before we ask for a db query 366 366 $notoptions = wp_cache_get('notoptions', 'options'); 367 if ( is set($notoptions[$name]) ) {367 if ( is_array($notoptions) && isset($notoptions[$name]) ) { 368 368 unset($notoptions[$name]); 369 369 wp_cache_set('notoptions', $notoptions, 'options');
