Escape translations on 404.php

See #737.
This commit is contained in:
Fränk Klein 2015-05-05 12:34:08 +02:00
parent d35cef0e7d
commit 89c2d8e4dc
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ get_header(); ?>
<?php
/* translators: %1$s: smiley */
$archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', '_s' ), convert_smilies( ':)' ) ) . '</p>';
$archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', '_s' ), convert_smilies( ':)' ) ) . '</p>';
the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
?>