Changeset 38698 for trunk/src/wp-includes/admin-bar.php
- Timestamp:
- 09/30/2016 10:39:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/admin-bar.php
r38683 r38698 636 636 } elseif ( ! empty( $current_object->taxonomy ) 637 637 && ( $tax = get_taxonomy( $current_object->taxonomy ) ) 638 && current_user_can( $tax->cap->edit_terms)638 && current_user_can( 'edit_term', $current_object->term_id ) 639 639 && $edit_term_link = get_edit_term_link( $current_object->term_id, $current_object->taxonomy ) ) 640 640 {
Note: See TracChangeset
for help on using the changeset viewer.