WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/26/2015 11:00:11 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Merge similar strings for plugin update permissions.

props pavelevap.
fixes #32388.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r33356 r33432  
    29642964
    29652965    if ( ! current_user_can( 'update_plugins' ) ) {
    2966         $status['error'] = __( 'You do not have sufficient permissions to update plugins on this site.' );
     2966        $status['error'] = __( 'You do not have sufficient permissions to update plugins for this site.' );
    29672967        wp_send_json_error( $status );
    29682968    }
Note: See TracChangeset for help on using the changeset viewer.