From 1b01dd4ecd9311df8d90e7c536319cd33f6add09 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 24 Feb 2010 20:10:12 +0000 Subject: [PATCH] Some XSS escaping love for nav menus. see #11817 git-svn-id: https://develop.svn.wordpress.org/trunk@13381 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/nav-menu-template.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php index 64093c124a..19107786d4 100644 --- a/wp-includes/nav-menu-template.php +++ b/wp-includes/nav-menu-template.php @@ -95,9 +95,9 @@ function wp_print_nav_menu_item($menu_item, $context, $args = array() ) { title); ?> type); ?> - <?php esc_attr_e('Edit Menu Item'); ?> - <?php esc_attr_e('Remove from Custom Menu'); ?> - <?php esc_attr_e('View Page'); ?> + <?php esc_attr_e('Edit Menu Item'); ?> + <?php esc_attr_e('Remove from Custom Menu'); ?> + <?php esc_attr_e('View Page'); ?> @@ -106,17 +106,17 @@ function wp_print_nav_menu_item($menu_item, $context, $args = array() ) { title ); ?> - - - - - - - - - - - + + + + + + + + + + + - target; ?>>title . $args['after_title']; ?>anchor_title ); ?>" href="link ); ?>" target; ?>>title ) . $args['after_title']; ?>