Make WordPress Core

Ticket #49535: 49535.diff

File 49535.diff, 1.8 KB (added by fahimmurshed, 4 years ago)

Patch

  • src/wp-content/themes/twentytwenty/404.php

    diff --git a/src/wp-content/themes/twentytwenty/404.php b/src/wp-content/themes/twentytwenty/404.php
    index 64c25039a9..9efb6c860e 100644
    a b get_header(); 
    1414
    1515        <div class="section-inner thin error404-content">
    1616
    17                 <h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1>
     17                <h1 class="entry-title"><?php esc_html_e( 'Page Not Found', 'twentytwenty' ); ?></h1>
    1818
    19                 <div class="intro-text"><p><?php _e( 'The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.', 'twentytwenty' ); ?></p></div>
     19                <div class="intro-text"><p><?php esc_html_e( 'The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.', 'twentytwenty' ); ?></p></div>
    2020
    2121                <?php
    2222                get_search_form(