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/update.php

    r14139 r14313  
    1919    if ( 'update-selected' == $action ) {
    2020        if ( ! current_user_can( 'update_plugins' ) )
    21             wp_die( __( 'You do not have sufficient permissions to update plugins for this blog.' ) );
     21            wp_die( __( 'You do not have sufficient permissions to update plugins for this site.' ) );
    2222
    2323        check_admin_referer( 'bulk-update-plugins' );
     
    4646    } elseif ( 'upgrade-plugin' == $action ) {
    4747        if ( ! current_user_can('update_plugins') )
    48             wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
     48            wp_die(__('You do not have sufficient permissions to update plugins for this site.'));
    4949
    5050        check_admin_referer('upgrade-plugin_' . $plugin);
     
    6565    } elseif ('activate-plugin' == $action ) {
    6666        if ( ! current_user_can('update_plugins') )
    67             wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));
     67            wp_die(__('You do not have sufficient permissions to update plugins for this site.'));
    6868
    6969        check_admin_referer('activate-plugin_' . $plugin);
     
    9393
    9494        if ( ! current_user_can('install_plugins') )
    95             wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));
     95            wp_die(__('You do not have sufficient permissions to install plugins for this site.'));
    9696
    9797        include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api..
     
    121121
    122122        if ( ! current_user_can('install_plugins') )
    123             wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));
     123            wp_die(__('You do not have sufficient permissions to install plugins for this site.'));
    124124
    125125        check_admin_referer('plugin-upload');
     
    145145
    146146        if ( ! current_user_can('update_themes') )
    147             wp_die(__('You do not have sufficient permissions to update themes for this blog.'));
     147            wp_die(__('You do not have sufficient permissions to update themes for this site.'));
    148148
    149149        check_admin_referer('upgrade-theme_' . $theme);
     
    165165    } elseif ( 'update-selected-themes' == $action ) {
    166166        if ( ! current_user_can( 'update_themes' ) )
    167             wp_die( __( 'You do not have sufficient permissions to update themes for this blog.' ) );
     167            wp_die( __( 'You do not have sufficient permissions to update themes for this site.' ) );
    168168
    169169        check_admin_referer( 'bulk-update-themes' );
     
    192192
    193193        if ( ! current_user_can('install_themes') )
    194             wp_die(__('You do not have sufficient permissions to install themes for this blog.'));
     194            wp_die(__('You do not have sufficient permissions to install themes for this site.'));
    195195
    196196        include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..
     
    222222
    223223        if ( ! current_user_can('install_themes') )
    224             wp_die(__('You do not have sufficient permissions to install themes for this blog.'));
     224            wp_die(__('You do not have sufficient permissions to install themes for this site.'));
    225225
    226226        check_admin_referer('theme-upload');
Note: See TracChangeset for help on using the changeset viewer.