Make WordPress Core


Ignore:
Timestamp:
09/30/2019 05:40:14 PM (7 years ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk’s version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46271], see https://github.com/WordPress/twentytwenty/compare/932b16248...dd7032f

Props anlino, ianbelanger, nielslange, acosmin, netweb, williampatton, adhitya03, phpdocs, acalfieri, itowhid06, littlebigthing, aristath, karmatosed, poena.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php

    r46271 r46357  
    1818            <div class="menu-top">
    1919
     20                <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
     21                    <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span>
     22                    <?php twentytwenty_the_theme_svg( 'cross' ); ?>
     23                </button><!-- .nav-toggle -->
     24
    2025                <?php
    21 
    22                 // If the expanded menu is set, output the close button.
    23                 if ( has_nav_menu( 'expanded' ) ) {
    24                     ?>
    25 
    26                     <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-screen-lock="true" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
    27                         <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span>
    28                         <?php twentytwenty_the_theme_svg( 'cross' ); ?>
    29                     </button><!-- .nav-toggle -->
    30 
    31                     <?php
    32                 }
    3326
    3427                $mobile_menu_location = '';
Note: See TracChangeset for help on using the changeset viewer.