Changeset 15496 for trunk/wp-admin/plugin-install.php
- Timestamp:
- 08/12/2010 11:21:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-install.php
r15491 r15496 10 10 require_once('./admin.php'); 11 11 12 if ( ! current_user_can('install_plugins') )13 wp_die(__('You do not have sufficient permissions to install plugins on this site.'));14 15 12 require_once( './includes/default-list-tables.php' ); 16 13 17 14 $table = new WP_Plugin_Install_Table; 15 $table->check_permissions(); 16 $table->prepare_items(); 18 17 19 18 $title = __('Install Plugins');
Note: See TracChangeset
for help on using the changeset viewer.