Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 2 contributors
Oct 24, 2012
sixhours sixhours 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.
c7f0e44
Ian Stewart ianstewart Merge pull request #94 from sixhours/patch-1
Change .tag-links to .tags-links so it doesn't cause an edge-case conflict with posts tagged as "links".
152ae26

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  content.php
2  content.php
@@ -45,7 +45,7 @@
45 45 if ( $tags_list ) :
46 46 ?>
47 47 <span class="sep"> | </span>
48   - <span class="tag-links">
  48 + <span class="tags-links">
49 49 <?php printf( __( 'Tagged %1$s', '_s' ), $tags_list ); ?>
50 50 </span>
51 51 <?php endif; // End if $tags_list ?>

No commit comments for this range

Something went wrong with that request. Please try again.