Escape translation in title shim.

See #737.
This commit is contained in:
Fränk Klein 2015-05-05 11:59:02 +02:00
parent a7ad622e4c
commit ef1a884b6c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) :
// Add a page number if necessary:
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
$title .= " $sep " . sprintf( __( 'Page %s', '_s' ), max( $paged, $page ) );
$title .= " $sep " . sprintf( esc_html__( 'Page %s', '_s' ), max( $paged, $page ) );
}
return $title;