Changeset 28500 for trunk/src/wp-admin/update.php
- Timestamp:
- 05/19/2014 05:03:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update.php
r28126 r28500 13 13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';15 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 16 16 17 17 if ( isset($_GET['action']) ) { … … 96 96 wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); 97 97 98 include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api..98 include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); //for plugins_api.. 99 99 100 100 check_admin_referer('install-plugin_' . $plugin); … … 201 201 wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); 202 202 203 include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..203 include_once( ABSPATH . 'wp-admin/includes/theme-install.php' ); //for themes_api.. 204 204 205 205 check_admin_referer( 'install-theme_' . $theme );
Note: See TracChangeset
for help on using the changeset viewer.