Changeset 22430 for trunk/wp-admin/update.php
- Timestamp:
- 11/07/2012 07:37:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update.php
r20476 r22430 91 91 92 92 if ( ! current_user_can('install_plugins') ) 93 wp_die( __('You do not have sufficient permissions to install plugins for this site.'));93 wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); 94 94 95 95 include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api.. … … 122 122 123 123 if ( ! current_user_can('install_plugins') ) 124 wp_die( __('You do not have sufficient permissions to install plugins for this site.'));124 wp_die( __( 'You do not have sufficient permissions to install plugins on this site.' ) ); 125 125 126 126 check_admin_referer('plugin-upload'); … … 195 195 196 196 if ( ! current_user_can('install_themes') ) 197 wp_die( __('You do not have sufficient permissions to install themes for this site.'));197 wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); 198 198 199 199 include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api.. … … 225 225 226 226 if ( ! current_user_can('install_themes') ) 227 wp_die( __('You do not have sufficient permissions to install themes for this site.'));227 wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); 228 228 229 229 check_admin_referer('theme-upload');
Note: See TracChangeset
for help on using the changeset viewer.