Bundled Themes: Use consistent HTML comments after closing HTML tags.
Props iamdmitrymayorov. Fixes #46871. git-svn-id: https://develop.svn.wordpress.org/trunk@45209 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f83829ca4e
commit
5895974f10
@ -61,4 +61,4 @@
|
||||
</footer>
|
||||
<!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -36,4 +36,4 @@
|
||||
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -34,4 +34,4 @@
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -61,4 +61,4 @@
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -74,7 +74,7 @@ get_header(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -31,4 +31,4 @@
|
||||
|
||||
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?>
|
||||
</header><!-- .entry-header -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -30,4 +30,4 @@
|
||||
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -63,4 +63,4 @@
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -73,4 +73,4 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -61,7 +61,7 @@ get_header();
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<nav id="image-navigation" class="navigation image-navigation">
|
||||
<div class="nav-links">
|
||||
|
@ -226,7 +226,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
|
||||
<?php endif; ?>
|
||||
</div><!-- .entry-meta -->
|
||||
</header><!-- .entry-header -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
@ -35,7 +35,7 @@ if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
|
||||
|
||||
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' );
|
||||
?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
<div class="site-branding-container">
|
||||
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
|
||||
</div><!-- .layout-wrap -->
|
||||
</div><!-- .site-branding-container -->
|
||||
|
||||
<?php if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) : ?>
|
||||
<div class="site-featured-image">
|
||||
|
@ -78,7 +78,7 @@ get_header();
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// Parent post navigation.
|
||||
|
@ -30,4 +30,4 @@
|
||||
<footer class="entry-footer">
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-${ID} -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -52,4 +52,4 @@
|
||||
<?php get_template_part( 'template-parts/post/author', 'bio' ); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</article><!-- #post-${ID} -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -56,4 +56,4 @@
|
||||
<footer class="entry-footer">
|
||||
<?php twentynineteen_entry_footer(); ?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-${ID} -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -42,5 +42,5 @@ $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentyni
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</div><!-- .meta-info -->
|
||||
</div><!-- .entry-meta -->
|
||||
<?php endif; ?>
|
||||
|
@ -84,4 +84,4 @@ global $twentyseventeencounter;
|
||||
</div><!-- .wrap -->
|
||||
</div><!-- .panel-content -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -49,4 +49,4 @@
|
||||
</div><!-- .wrap -->
|
||||
</div><!-- .panel-content -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -29,4 +29,4 @@
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -106,4 +106,4 @@
|
||||
}
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -45,4 +45,4 @@
|
||||
<?php the_excerpt(); ?>
|
||||
</div><!-- .entry-summary -->
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -93,4 +93,4 @@
|
||||
}
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -83,4 +83,4 @@
|
||||
}
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -104,4 +104,4 @@
|
||||
}
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -76,4 +76,4 @@
|
||||
}
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -93,7 +93,7 @@ get_header(); ?>
|
||||
);
|
||||
?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
|
@ -44,4 +44,4 @@
|
||||
);
|
||||
?>
|
||||
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -49,5 +49,5 @@
|
||||
?>
|
||||
|
||||
<?php endif; ?>
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
|
@ -52,4 +52,4 @@
|
||||
);
|
||||
?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -58,4 +58,4 @@
|
||||
);
|
||||
?>
|
||||
</footer><!-- .entry-footer -->
|
||||
</article><!-- #post-## -->
|
||||
</article><!-- #post-<?php the_ID(); ?> -->
|
||||
|
@ -164,7 +164,7 @@ if ( have_posts() ) {
|
||||
<?php twentyten_posted_in(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), ' <span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template(); ?>
|
||||
|
||||
|
@ -40,7 +40,7 @@ if ( have_posts() ) {
|
||||
?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-content -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
|
@ -69,7 +69,7 @@ if ( have_posts() ) {
|
||||
<?php twentyten_posted_in(); ?>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<div id="nav-below" class="navigation">
|
||||
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
|
||||
|
@ -108,7 +108,7 @@ while ( have_posts() ) :
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php /* How to display posts of the Aside format. The asides category is the old way. */ ?>
|
||||
|
||||
@ -131,7 +131,7 @@ while ( have_posts() ) :
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php /* How to display all other posts. */ ?>
|
||||
|
||||
@ -180,7 +180,7 @@ while ( have_posts() ) :
|
||||
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
|
||||
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
|
||||
</div><!-- .entry-utility -->
|
||||
</div><!-- #post-## -->
|
||||
</div><!-- #post-<?php the_ID(); ?> -->
|
||||
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user