Make WordPress Core


Ignore:
Timestamp:
02/19/2018 02:12:41 AM (7 years ago)
Author:
peterwilsoncc
Message:

General: Further improve error messages following [42648].

Props kristastevens, melchoyce.
Fixes #38332 for trunk.

File:
1 edited

Legend:

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

    r42648 r42719  
    1111if ( ! current_user_can( 'edit_posts' ) ) {
    1212    wp_die(
    13         '<h1>' . __( 'You don&#8217;t have permission to do this.' ) . '</h1>' .
     13        '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
    1414        '<p>' . __( 'Sorry, you are not allowed to edit comments.' ) . '</p>',
    1515        403
Note: See TracChangeset for help on using the changeset viewer.