Make WordPress Core

Ticket #49536: 49536.diff

File 49536.diff, 1.8 KB (added by fahimmurshed, 5 years ago)

Patch

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

    diff --git a/src/wp-content/themes/twentytwenty/template-parts/modal-search.php b/src/wp-content/themes/twentytwenty/template-parts/modal-search.php
    index f0b51bdbbc..36f294b7e9 100644
    a b  
    2323                        ?>
    2424
    2525                        <button class="toggle search-untoggle close-search-toggle fill-children-current-color" data-toggle-target=".search-modal" data-toggle-body-class="showing-search-modal" data-set-focus=".search-modal .search-field" aria-expanded="false">
    26                                 <span class="screen-reader-text"><?php _e( 'Close search', 'twentytwenty' ); ?></span>
     26                                <span class="screen-reader-text"><?php esc_html_e( 'Close search', 'twentytwenty' ); ?></span>
    2727                                <?php twentytwenty_the_theme_svg( 'cross' ); ?>
    2828                        </button><!-- .search-toggle -->
    2929