Make WordPress Core


Ignore:
Timestamp:
11/08/2013 05:53:48 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: fix case of featured posts has_tag() check that was adding an empty footer element. See #25868, props iamtakashi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/content.php

    r26036 r26048  
    6363    <?php endif; ?>
    6464
    65     <?php if ( has_tag() ) : ?>
    66     <footer class="entry-meta">
    67         <span class="tag-links">
    68             <?php echo get_the_tag_list(); ?>
    69         </span>
    70     </footer><!-- .entry-meta -->
    71     <?php endif; ?>
     65    <?php
     66        if ( has_tag() )
     67            echo get_the_tag_list( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' );
     68    ?>
    7269</article><!-- #post-## -->
Note: See TracChangeset for help on using the changeset viewer.