Make WordPress Core


Ignore:
Timestamp:
09/03/2015 09:02:13 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/network/site-users.php.

props ericlewis, kraftbj, lukecarbis, mrmist.
fixes #33683. see #14530.

File:
1 edited

Legend:

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

    r33885 r33888  
    136136            wp_die(
    137137                '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
    138                 '<p>' . __( 'One of the selected users in not a member of this site.' ) . '</p>',
     138                '<p>' . __( 'One of the selected users is not a member of this site.' ) . '</p>',
    139139                403
    140140            );
Note: See TracChangeset for help on using the changeset viewer.