Changeset 9902
- Timestamp:
- 11/26/2008 12:04:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/update.php
r9901 r9902 28 28 29 29 $current = get_option( 'update_core' ); 30 if ( ! is_object($current) ) 31 $current = new stdClass; 32 30 33 $locale = get_locale(); 31 34 if ( … … 113 116 $active = get_option( 'active_plugins' ); 114 117 $current = get_option( 'update_plugins' ); 118 if ( ! is_object($current) ) 119 $current = new stdClass; 115 120 116 121 $new_option = ''; … … 202 207 $installed_themes = get_themes( ); 203 208 $current_theme = get_option( 'update_themes' ); 209 if ( ! is_object($current_theme) ) 210 $current_theme = new stdClass; 204 211 205 212 $new_option = '';
Note: See TracChangeset
for help on using the changeset viewer.