WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/28/2016 12:16:44 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Unify two more permission error messages.

Props ramiy.
Fixes #38158. See #34521.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/users.php

    r38647 r38666  
    383383        } elseif ( !current_user_can('remove_user', $id) ) {
    384384            /* translators: 1: user id, 2: user login */
    385             echo "<li>" . sprintf(__('ID #%1$s: %2$s <strong>You don&#8217;t have permission to remove this user.</strong>'), $id, $user->user_login) . "</li>\n";
     385            echo "<li>" . sprintf(__('ID #%1$s: %2$s <strong>Sorry, you are not allowed to remove this user.</strong>'), $id, $user->user_login) . "</li>\n";
    386386        } else {
    387387            /* translators: 1: user id, 2: user login */
Note: See TracChangeset for help on using the changeset viewer.