Changeset 47886 for trunk/src/wp-content/themes/twentyten/functions.php
- Timestamp:
- 06/02/2020 05:03:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r47597 r47886 631 631 function twentyten_posted_in() { 632 632 // Retrieves tag list of current post, separated by commas. 633 $tag_list = get_the_tag_list( '', ', ' ); 634 if ( $tag_list && ! is_wp_error( $tag_list ) ) { 633 $tags_list = get_the_tag_list( '', ', ' ); 634 635 if ( $tags_list && ! is_wp_error( $tags_list ) ) { 635 636 /* translators: 1: Category name, 2: Tag name, 3: Post permalink, 4: Post title. */ 636 637 $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' ); … … 642 643 $posted_in = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' ); 643 644 } 645 644 646 // Prints the string, replacing the placeholders. 645 647 printf( 646 648 $posted_in, 647 649 get_the_category_list( ', ' ), 648 $tag _list,650 $tags_list, 649 651 get_permalink(), 650 652 the_title_attribute( 'echo=0' )
Note: See TracChangeset
for help on using the changeset viewer.