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.php

    r42648 r42719  
    3939if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) {
    4040    wp_die(
    41         '<h1>' . __( 'You don&#8217;t have permission to do this.' ) . '</h1>' .
     41        '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' .
    4242        '<p>' . __( 'Sorry, you are not allowed to edit posts in this post type.' ) . '</p>',
    4343        403
Note: See TracChangeset for help on using the changeset viewer.