Changeset 42719 for trunk/src/wp-admin/edit-tags.php
- Timestamp:
- 02/19/2018 02:12:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tags.php
r42648 r42719 26 26 if ( ! current_user_can( $tax->cap->manage_terms ) ) { 27 27 wp_die( 28 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .28 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 29 29 '<p>' . __( 'Sorry, you are not allowed to manage terms in this taxonomy.' ) . '</p>', 30 30 403 … … 82 82 if ( ! current_user_can( $tax->cap->edit_terms ) ) { 83 83 wp_die( 84 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .84 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 85 85 '<p>' . __( 'Sorry, you are not allowed to create terms in this taxonomy.' ) . '</p>', 86 86 403 … … 112 112 if ( ! current_user_can( 'delete_term', $tag_ID ) ) { 113 113 wp_die( 114 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .114 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 115 115 '<p>' . __( 'Sorry, you are not allowed to delete this item.' ) . '</p>', 116 116 403 … … 132 132 if ( ! current_user_can( $tax->cap->delete_terms ) ) { 133 133 wp_die( 134 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .134 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 135 135 '<p>' . __( 'Sorry, you are not allowed to delete these items.' ) . '</p>', 136 136 403 … … 168 168 if ( ! current_user_can( 'edit_term', $tag_ID ) ) { 169 169 wp_die( 170 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' .170 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 171 171 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 172 172 403
Note: See TracChangeset
for help on using the changeset viewer.