Make WordPress Core


Ignore:
Timestamp:
11/07/2012 07:37:54 PM (13 years ago)
Author:
nacin
Message:

Merge some strings. props pavelevap. fixes #22306.

File:
1 edited

Legend:

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

    r20476 r22430  
    9191
    9292        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.' ) );
    9494
    9595        include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api..
     
    122122
    123123        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.' ) );
    125125
    126126        check_admin_referer('plugin-upload');
     
    195195
    196196        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.' ) );
    198198
    199199        include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api..
     
    225225
    226226        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.' ) );
    228228
    229229        check_admin_referer('theme-upload');
Note: See TracChangeset for help on using the changeset viewer.