Changes in trunk/wp-admin/update.php [18617:20476]
- File:
-
- 1 edited
-
trunk/wp-admin/update.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update.php
r18617 r20476 153 153 check_admin_referer('upgrade-theme_' . $theme); 154 154 155 add_thickbox();156 wp_enqueue_script('theme-preview'); 155 wp_enqueue_script( 'customize-loader' ); 156 157 157 $title = __('Update Theme'); 158 158 $parent_file = 'themes.php'; … … 200 200 201 201 check_admin_referer('install-theme_' . $theme); 202 $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false ) ) ); //Save on a bit of bandwidth.202 $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth. 203 203 204 204 if ( is_wp_error($api) ) 205 205 wp_die($api); 206 206 207 add_thickbox();208 wp_enqueue_script('theme-preview'); 207 wp_enqueue_script( 'customize-loader' ); 208 209 209 $title = __('Install Themes'); 210 210 $parent_file = 'themes.php'; … … 231 231 $file_upload = new File_Upload_Upgrader('themezip', 'package'); 232 232 233 wp_enqueue_script( 'customize-loader' ); 234 233 235 $title = __('Upload Theme'); 234 236 $parent_file = 'themes.php'; 235 237 $submenu_file = 'theme-install.php'; 236 add_thickbox(); 237 wp_enqueue_script('theme-preview'); 238 238 239 require_once(ABSPATH . 'wp-admin/admin-header.php'); 239 240
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)