Skip to content

Commit

Permalink
Fix printf() warning in single.php. Props Zhuo
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Apr 25, 2014
1 parent 607d97d commit 4697186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single.php
Expand Up @@ -26,9 +26,9 @@

<?php if ( get_the_tag_list() ) : ?>
<?php $tag_list_title = apply_filters( 'independent_publisher_tag_list_title', __( 'Related Content by Tag', 'independent-publisher' ) ); ?>
<?php $tag_list = get_the_tag_list( '<ul class="taglist"><li class="taglist-title">' . $tag_list_title . '</li><li>', '</li><li>', '</li></ul>' ); ?>
<?php $tag_list = (string)get_the_tag_list( '<ul class="taglist"><li class="taglist-title">' . $tag_list_title . '</li><li>', '</li><li>', '</li></ul>' ); ?>
<div id="taglist">
<?php printf( $tag_list ); ?>
<?php echo $tag_list; ?>
</div>
<?php endif; ?>

Expand Down

1 comment on commit 4697186

@raamdev
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.