From d87cac2093c9f9d92e84387dc66c05536de0d1e8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 4 Mar 2014 21:09:32 +0000 Subject: [PATCH] Use esc_attr_e() instead of _e() for attribute values. props DJPaul. fixes #27274. git-svn-id: https://develop.svn.wordpress.org/trunk@27400 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/nav-menus.php | 2 +- src/wp-includes/media-template.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 0438b44a73..1ec8462bfb 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -656,7 +656,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); - + create a new menu.' ), esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => 0 ), admin_url( 'nav-menus.php' ) ) ) ); ?> diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 9078b34cda..5304899f3c 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -152,11 +152,11 @@ function wp_print_media_templates() { <# } #> <# if ( data.buttons.close ) { #> - + <# } #> <# if ( data.buttons.check ) { #> -
+
<# } #> <#