From 2d86340f439f03f7a1dfb71868d087649dcd4e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A4nk=20Klein?= Date: Tue, 5 May 2015 12:38:55 +0200 Subject: [PATCH] Escape translations in functions.php See #737. --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 9eb22bf0..dd19f7fe 100644 --- a/functions.php +++ b/functions.php @@ -50,7 +50,7 @@ function _s_setup() { // This theme uses wp_nav_menu() in one location. register_nav_menus( array( - 'primary' => __( 'Primary Menu', '_s' ), + 'primary' => esc_html__( 'Primary Menu', '_s' ), ) ); /* @@ -85,7 +85,7 @@ add_action( 'after_setup_theme', '_s_setup' ); */ function _s_widgets_init() { register_sidebar( array( - 'name' => __( 'Sidebar', '_s' ), + 'name' => esc_html__( 'Sidebar', '_s' ), 'id' => 'sidebar-1', 'description' => '', 'before_widget' => '