Ticket #13151: term_description.diff
File term_description.diff, 536 bytes (added by , 14 years ago) |
---|
-
wp-includes/category-template.php
878 878 $term = $term->term_id; 879 879 } 880 880 $description = get_term_field( 'description', $term, $taxonomy ); 881 return is_wp_error( $description ) ? '' : $description; 881 882 if ( is_wp_error( $description ) ) 883 return ''; 884 885 return apply_filters('term_description', $description, $term, $taxonomy); 882 886 } 883 887 884 888 /**