Changeset 14313 for trunk/wp-admin/plugins.php
- Timestamp:
- 04/30/2010 01:54:32 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r14159 r14313 46 46 case 'activate': 47 47 if ( ! current_user_can('activate_plugins') ) 48 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));48 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 49 49 50 50 check_admin_referer('activate-plugin_' . $plugin); … … 73 73 case 'network-activate-selected': 74 74 if ( ! current_user_can('activate_plugins') ) 75 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));75 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 76 76 77 77 check_admin_referer('bulk-manage-plugins'); … … 127 127 case 'error_scrape': 128 128 if ( ! current_user_can('activate_plugins') ) 129 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));129 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 130 130 131 131 check_admin_referer('plugin-activation-error_' . $plugin); … … 153 153 case 'deactivate': 154 154 if ( ! current_user_can('activate_plugins') ) 155 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));155 wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); 156 156 157 157 check_admin_referer('deactivate-plugin_' . $plugin); … … 166 166 case 'deactivate-selected': 167 167 if ( ! current_user_can('activate_plugins') ) 168 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));168 wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); 169 169 170 170 check_admin_referer('bulk-manage-plugins'); … … 189 189 case 'delete-selected': 190 190 if ( ! current_user_can('delete_plugins') ) 191 wp_die(__('You do not have sufficient permissions to delete plugins for this blog.'));191 wp_die(__('You do not have sufficient permissions to delete plugins for this site.')); 192 192 193 193 check_admin_referer('bulk-manage-plugins');
Note: See TracChangeset
for help on using the changeset viewer.