diff --git a/src/wp-content/themes/twentytwenty/404.php b/src/wp-content/themes/twentytwenty/404.php
index 64c25039a9..9efb6c860e 100644
--- a/src/wp-content/themes/twentytwenty/404.php
+++ b/src/wp-content/themes/twentytwenty/404.php
@@ -14,9 +14,9 @@ get_header();
 
 	<div class="section-inner thin error404-content">
 
-		<h1 class="entry-title"><?php _e( 'Page Not Found', 'twentytwenty' ); ?></h1>
+		<h1 class="entry-title"><?php esc_html_e( 'Page Not Found', 'twentytwenty' ); ?></h1>
 
-		<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>
+		<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>
 
 		<?php
 		get_search_form(
