Change .tag-links to .tags-links

Using the class .tag-links may cause a rare formatting bug. To reproduce:

1. Publish a new post and tag it "links"
2. post_class() assigns the class .tag-links to the post
3. Any formatting applied to .tag-links in the theme's stylesheet will also apply to this post -- not good!

Changing the class name to something that won't conflict, like .tags-links, should solve this problem.
This commit is contained in:
sixhours 2012-10-24 11:06:42 -03:00
parent b242ebe349
commit c7f0e441b2
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
if ( $tags_list ) :
?>
<span class="sep"> | </span>
<span class="tag-links">
<span class="tags-links">
<?php printf( __( 'Tagged %1$s', '_s' ), $tags_list ); ?>
</span>
<?php endif; // End if $tags_list ?>