WordPress.org

Make WordPress Core

Ticket #51944: 51944.patch

File 51944.patch, 1014 bytes (added by poena, 12 months ago)

Replace section with div

  • src/wp-content/themes/twentytwentyone/footer.php

     
    1313
    1414?>
    1515                        </main><!-- #main -->
    16                 </section><!-- #primary -->
     16                </div><!-- #primary -->
    1717        </div><!-- #content -->
    1818
    1919        <?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
  • src/wp-content/themes/twentytwentyone/header.php

     
    2828        <?php get_template_part( 'template-parts/header/site-header' ); ?>
    2929
    3030        <div id="content" class="site-content">
    31                 <section id="primary" class="content-area">
     31                <div id="primary" class="content-area">
    3232                        <main id="main" class="site-main" role="main">