Make WordPress Core


Ignore:
Timestamp:
04/30/2010 01:54:32 AM (15 years ago)
Author:
nacin
Message:

s/blog/site/ in more places. props PeteMall, see #11644.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r14159 r14313  
    4646        case 'activate':
    4747            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.'));
    4949
    5050            check_admin_referer('activate-plugin_' . $plugin);
     
    7373        case 'network-activate-selected':
    7474            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.'));
    7676
    7777            check_admin_referer('bulk-manage-plugins');
     
    127127        case 'error_scrape':
    128128            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.'));
    130130
    131131            check_admin_referer('plugin-activation-error_' . $plugin);
     
    153153        case 'deactivate':
    154154            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.'));
    156156
    157157            check_admin_referer('deactivate-plugin_' . $plugin);
     
    166166        case 'deactivate-selected':
    167167            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.'));
    169169
    170170            check_admin_referer('bulk-manage-plugins');
     
    189189        case 'delete-selected':
    190190            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.'));
    192192
    193193            check_admin_referer('bulk-manage-plugins');
Note: See TracChangeset for help on using the changeset viewer.