Changeset 14593 for trunk/wp-includes/link-template.php
- Timestamp:
- 05/13/2010 04:10:17 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r14585 r14593 647 647 global $post_type; 648 648 $tax = get_taxonomy($taxonomy); 649 if ( !current_user_can($tax-> edit_cap) )649 if ( !current_user_can($tax->cap->edit_terms) ) 650 650 return; 651 651 … … 669 669 function edit_tag_link( $link = '', $before = '', $after = '', $tag = null ) { 670 670 $tax = get_taxonomy('post_tag'); 671 if ( !current_user_can($tax-> edit_cap) )671 if ( !current_user_can($tax->cap->edit_terms) ) 672 672 return; 673 673
Note: See TracChangeset
for help on using the changeset viewer.