Changeset 41797 for trunk/src/wp-admin/update.php
- Timestamp:
- 10/09/2017 04:03:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update.php
r41289 r41797 174 174 check_admin_referer('upgrade-theme_' . $theme); 175 175 176 wp_enqueue_script( 'customize-loader' );177 176 wp_enqueue_script( 'updates' ); 178 177 … … 224 223 $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth. 225 224 226 if ( is_wp_error($api) ) 227 wp_die($api); 228 229 wp_enqueue_script( 'customize-loader' ); 225 if ( is_wp_error( $api ) ) { 226 wp_die( $api ); 227 } 230 228 231 229 $title = __('Install Themes'); … … 253 251 254 252 $file_upload = new File_Upload_Upgrader('themezip', 'package'); 255 256 wp_enqueue_script( 'customize-loader' );257 253 258 254 $title = __('Upload Theme');
Note: See TracChangeset
for help on using the changeset viewer.