Changeset 19012 for trunk/wp-includes/functions.php
- Timestamp:
- 10/19/2011 09:06:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r18923 r19012 3799 3799 3800 3800 // Has to be get_row instead of get_var because of funkiness with 0, false, null values 3801 if ( is_object( $row ) ) 3801 if ( is_object( $row ) ) { 3802 3802 $value = $row->meta_value; 3803 else 3803 $value = maybe_unserialize( $value ); 3804 wp_cache_set( $cache_key, $value, 'site-options' ); 3805 } else { 3804 3806 $value = $default; 3805 3806 $value = maybe_unserialize( $value ); 3807 3808 wp_cache_set( $cache_key, $value, 'site-options' ); 3807 } 3809 3808 } 3810 3809 }
Note: See TracChangeset
for help on using the changeset viewer.