Changeset 38399 for trunk/src/wp-admin/update.php
- Timestamp:
- 08/27/2016 09:15:01 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update.php
r37914 r38399 12 12 /** WordPress Administration Bootstrap */ 13 13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 15 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );16 14 17 15 if ( isset($_GET['action']) ) { … … 219 217 wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) ); 220 218 221 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); //for themes_api..222 223 219 check_admin_referer( 'install-theme_' . $theme ); 224 220 $api = themes_api('theme_information', array('slug' => $theme, 'fields' => array('sections' => false, 'tags' => false) ) ); //Save on a bit of bandwidth.
Note: See TracChangeset
for help on using the changeset viewer.