From 89c2d8e4dc4b9b3635b040fd93be05eceb200b99 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A4nk=20Klein?=
Date: Tue, 5 May 2015 12:34:08 +0200
Subject: [PATCH] Escape translations on 404.php
See #737.
---
404.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/404.php b/404.php
index 41924004..a77b457b 100644
--- a/404.php
+++ b/404.php
@@ -41,7 +41,7 @@ get_header(); ?>
' . sprintf( __( 'Try looking in the monthly archives. %1$s', '_s' ), convert_smilies( ':)' ) ) . '
';
+ $archive_content = '' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', '_s' ), convert_smilies( ':)' ) ) . '
';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" );
?>