Make WordPress Core


Ignore:
Timestamp:
11/19/2016 01:37:25 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Merge and clarify some permission error strings in the admin.

See #38857.

File:
1 edited

Legend:

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

    r38958 r39308  
    1919
    2020if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) {
    21    wp_die( __( 'Sorry, you are not allowed to manage these items.' ) );
     21   wp_die( __( 'Sorry, you are not allowed to edit terms in this taxonomy.' ) );
    2222}
    2323
    … …  
    2525        wp_die(
    2626                '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
    27                 '<p>' . __( 'Sorry, you are not allowed to manage these items.' ) . '</p>',
     27                '<p>' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '</p>',
    2828                403
    2929        );
    … …  
    7575                wp_die(
    7676                        '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
    77                         '<p>' . __( 'Sorry, you are not allowed to add this item.' ) . '</p>',
     77                        '<p>' . __( 'Sorry, you are not allowed to create terms in this taxonomy.' ) . '</p>',
    7878                        403
    7979                );
Note: See TracChangeset for help on using the changeset viewer.