Changeset 10888
- Timestamp:
- 04/07/2009 11:54:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r10703 r10888 780 780 */ 781 781 function get_the_tag_list( $before = '', $sep = '', $after = '' ) { 782 return apply_filters( 'the_tags', get_the_term_list( 0, 'post_tag', $before, $sep, $after ) 782 return apply_filters( 'the_tags', get_the_term_list( 0, 'post_tag', $before, $sep, $after ), $before, $sep, $after); 783 783 } 784 784 … … 793 793 * @return string 794 794 */ 795 function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) { 796 return the_terms( 0, 'post_tag', $before, $sep, $after ); 795 function the_tags( $before = null, $sep = ', ', $after = '' ) { 796 if ( null === $before ) 797 $before = __('Tags: '); 798 echo get_the_tag_list($before, $sep, $after); 797 799 } 798 800
Note: See TracChangeset
for help on using the changeset viewer.