Make WordPress Core

Ticket #51950: 51950.diff

File 51950.diff, 1.7 KB (added by audrasjb, 5 years ago)
  • src/wp-content/themes/twentytwentyone/image.php

    diff --git a/src/wp-content/themes/twentytwentyone/image.php b/src/wp-content/themes/twentytwentyone/image.php
    index e5ebfba33d..c691e18594 100644
    a b while ( have_posts() ) { 
    9999                        }
    100100                        ?>
    101101                </footer><!-- .entry-footer -->
    102         </article><!-- #post-## -->
     102        </article><!-- #post-<?php the_ID(); ?> -->
    103103        <?php
    104104        // If comments are open or there is at least one comment, load up the comment template.
    105105        if ( comments_open() || get_comments_number() ) {
  • src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php

    diff --git a/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php b/src/wp-content/themes/twentytwentyone/template-parts/content/content-single.php
    index f6c97c9ca5..14ddb0f0c4 100644
    a b  
    4141                <?php get_template_part( 'template-parts/post/author-bio' ); ?>
    4242        <?php endif; ?>
    4343
    44 </article><!-- #post-${ID} -->
     44</article><!-- #post-<?php the_ID(); ?> -->
  • src/wp-content/themes/twentytwentyone/template-parts/content/content.php

    diff --git a/src/wp-content/themes/twentytwentyone/template-parts/content/content.php b/src/wp-content/themes/twentytwentyone/template-parts/content/content.php
    index 309f0bbeb6..0ee7d628ed 100644
    a b  
    4343        <footer class="entry-footer default-max-width">
    4444                <?php twenty_twenty_one_entry_meta_footer(); ?>
    4545        </footer><!-- .entry-footer -->
    46 </article><!-- #post-${ID} -->
     46</article><!-- #post-<?php the_ID(); ?> -->