Ticket #32786: 32786.diff
| File 32786.diff, 659 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/link-template.php
907 907 */ 908 908 function get_edit_term_link( $term_id, $taxonomy, $object_type = '' ) { 909 909 $tax = get_taxonomy( $taxonomy ); 910 if ( ! current_user_can( $tax->cap->edit_terms ) )910 if ( ! current_user_can( $tax->cap->edit_terms ) ) { 911 911 return; 912 } 912 913 913 914 $term = get_term( $term_id, $taxonomy ); 914 915 916 if ( is_wp_error( $term ) || is_null( $term ) ) { 917 return; 918 } 919 915 920 $args = array( 916 921 'action' => 'edit', 917 922 'taxonomy' => $taxonomy,
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)