From 2586813ba99783c75bf89221d41bffdc98110265 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 24 Feb 2010 10:20:45 +0000 Subject: [PATCH] Use esc_js() so pages with quotes can be added to custom menu. see #11817 git-svn-id: https://develop.svn.wordpress.org/trunk@13371 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/nav-menu-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index 1d6550042a..ed17d8af00 100644 --- a/wp-includes/nav-menu-template.php +++ b/wp-includes/nav-menu-template.php @@ -152,7 +152,7 @@ function wp_print_nav_menu_item($menu_item, $context, $args = array() ) { ?>
- title; ?> <?php esc_attr_e('Add to Custom Menu'); ?>
+ title; ?> <?php esc_attr_e('Add to Custom Menu'); ?>