Changeset 11900 for trunk/wp-includes/category-template.php
- Timestamp:
- 09/04/2009 08:47:36 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r11894 r11900 926 926 * @return null|bool False on WordPress error. Returns null when displaying. 927 927 */ 928 function the_terms( $id, $taxonomy, $before = '', $sep = '', $after = '' ) { 929 $return = get_the_term_list( $id, $taxonomy, $before, $sep, $after ); 930 if ( is_wp_error( $return ) ) 928 function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) { 929 $term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after ); 930 931 if ( is_wp_error( $term_list ) ) 931 932 return false; 932 else 933 echo $return;933 934 echo apply_filters('the_terms', $term_list, $taxonomy, $before, $sep, $after); 934 935 } 935 936
Note: See TracChangeset
for help on using the changeset viewer.