Changeset 1188 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
- Timestamp:
- 01/24/2015 01:34:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php
r1156 r1188 157 157 <?php 158 158 foreach( $theme->tags as &$tag ) : 159 $tag = sprintf( '<a href=" /tag/%1$s/">%1$s</a>', $tag );159 $tag = sprintf( '<a href="%1$s">%2$s</a>', esc_url( home_url( "/tag/{$tag}/" ) ), $tag ); 160 160 endforeach; 161 161 echo implode( ', ', $theme->tags );
Note: See TracChangeset
for help on using the changeset viewer.