Changeset 42811 for branches/4.9/src/wp-admin/edit-tags.php
- Timestamp:
- 03/09/2018 12:14:20 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 42648,42719
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/edit-tags.php
r41378 r42811 24 24 if ( ! current_user_can( $tax->cap->manage_terms ) ) { 25 25 wp_die( 26 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .26 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 27 27 '<p>' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '</p>', 28 28 403 … … 73 73 if ( ! current_user_can( $tax->cap->edit_terms ) ) { 74 74 wp_die( 75 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .75 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 76 76 '<p>' . __( 'Sorry, you are not allowed to create terms in this taxonomy.' ) . '</p>', 77 77 403 … … 97 97 if ( ! current_user_can( 'delete_term', $tag_ID ) ) { 98 98 wp_die( 99 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .99 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 100 100 '<p>' . __( 'Sorry, you are not allowed to delete this item.' ) . '</p>', 101 101 403 … … 117 117 if ( ! current_user_can( $tax->cap->delete_terms ) ) { 118 118 wp_die( 119 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .119 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 120 120 '<p>' . __( 'Sorry, you are not allowed to delete these items.' ) . '</p>', 121 121 403 … … 153 153 if ( ! current_user_can( 'edit_term', $tag_ID ) ) { 154 154 wp_die( 155 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .155 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 156 156 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 157 157 403
Note: See TracChangeset
for help on using the changeset viewer.