Changeset 34359 for trunk/src/wp-admin/edit-tags.php
- Timestamp:
- 09/20/2015 05:10:55 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit-tags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tags.php
r34306 r34359 17 17 if ( ! $tax ) 18 18 wp_die( __( 'Invalid taxonomy' ) ); 19 20 if ( ! in_array( $tax->name, get_taxonomies( array( 'show_ui' => true ) ) ) ) { 21 wp_die( __( 'You are not allowed to manage these items.' ) ); 22 } 19 23 20 24 if ( ! current_user_can( $tax->cap->manage_terms ) ) {
Note: See TracChangeset
for help on using the changeset viewer.