Changeset 39308
- Timestamp:
- 11/19/2016 01:37:25 AM (9 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tags.php
r38958 r39308 19 19 20 20 if ( ! 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.' ) ); 22 22 } 23 23 … … 25 25 wp_die( 26 26 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 27 '<p>' . __( 'Sorry, you are not allowed to manage t hese items.' ) . '</p>',27 '<p>' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '</p>', 28 28 403 29 29 ); … … 75 75 wp_die( 76 76 '<h1>' . __( 'Cheatin’ 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>', 78 78 403 79 79 ); -
trunk/src/wp-admin/options.php
r39122 r39308 48 48 wp_die( 49 49 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 50 '<p>' . __( 'Sorry, you are not allowed to manage these items.' ) . '</p>',50 '<p>' . __( 'Sorry, you are not allowed to manage these options.' ) . '</p>', 51 51 403 52 52 ); -
trunk/src/wp-admin/users.php
r39258 r39308 95 95 96 96 if ( ! current_user_can( 'promote_users' ) ) 97 wp_die( __( 'Sorry, you are not allowed to edit th atuser.' ) );97 wp_die( __( 'Sorry, you are not allowed to edit this user.' ) ); 98 98 99 99 if ( empty($_REQUEST['users']) ) { … … 120 120 121 121 if ( ! current_user_can('promote_user', $id) ) 122 wp_die(__('Sorry, you are not allowed to edit th atuser.'));122 wp_die(__('Sorry, you are not allowed to edit this user.')); 123 123 // The new role of the current user must also have the promote_users cap or be a multisite super admin 124 124 if ( $id == $current_user->ID && ! $wp_roles->role_objects[ $role ]->has_cap('promote_users')
Note: See TracChangeset
for help on using the changeset viewer.