Changeset 38402 for trunk/src/wp-admin/update.php
- Timestamp:
- 08/27/2016 02:36:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update.php
r38399 r38402 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' ); 14 16 15 17 if ( isset($_GET['action']) ) { … … 217 219 wp_die( __( 'Sorry, you are not allowed to install themes on this site.' ) ); 218 220 221 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); //for themes_api.. 222 219 223 check_admin_referer( 'install-theme_' . $theme ); 220 224 $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.