Make WordPress Core

Ticket #49537: 49537.diff

File 49537.diff, 1.7 KB (added by fahimmurshed, 5 years ago)

Patch

  • src/wp-content/themes/twentytwenty/template-parts/modal-menu.php

    diff --git a/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php b/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
    index f1d86e3822..75cb590b6c 100644
    a b  
    1818                        <div class="menu-top">
    1919
    2020                                <button class="toggle close-nav-toggle fill-children-current-color" data-toggle-target=".menu-modal" data-toggle-body-class="showing-menu-modal" aria-expanded="false" data-set-focus=".menu-modal">
    21                                         <span class="toggle-text"><?php _e( 'Close Menu', 'twentytwenty' ); ?></span>
     21                                        <span class="toggle-text"><?php esc_html_e( 'Close Menu', 'twentytwenty' ); ?></span>
    2222                                        <?php twentytwenty_the_theme_svg( 'cross' ); ?>
    2323                                </button><!-- .nav-toggle -->
    2424