Changeset 38698 for trunk/src/wp-admin/term.php
- Timestamp:
- 09/30/2016 10:39:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/term.php
r38069 r38698 32 32 33 33 if ( ! in_array( $taxonomy, get_taxonomies( array( 'show_ui' => true ) ) ) || 34 ! current_user_can( $tax->cap->manage_terms)34 ! current_user_can( 'edit_term', $tag->term_id ) 35 35 ) { 36 36 wp_die( 37 37 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 38 '<p>' . __( 'Sorry, you are not allowed to managethis item.' ) . '</p>',38 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 39 39 403 40 40 );
Note: See TracChangeset
for help on using the changeset viewer.