Ticket #14343: 14343.diff
File 14343.diff, 462 bytes (added by , 14 years ago) |
---|
-
wp-admin/edit-tags.php
19 19 20 20 $tax = get_taxonomy($taxonomy); 21 21 22 if ( ! current_user_can($tax->cap->manage_terms) ) 23 wp_die(__('Cheatin’ uh?')); 24 22 25 $title = $tax->labels->name; 23 26 24 27 if ( empty($post_type) || !in_array( $post_type, get_post_types( array('public' => true) ) ) )