Changeset 5501 for trunk/wp-includes/functions.php
- Timestamp:
- 05/21/2007 04:39:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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');
Note: See TracChangeset
for help on using the changeset viewer.