From d01197b568974485c1829ba14ade98a134fc28aa Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 24 Feb 2010 20:10:12 +0000 Subject: [PATCH] Some XSS escaping love for nav menus. see #11817 git-svn-id: http://svn.automattic.com/wordpress/trunk@13381 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 64093c124..19107786d 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']; ?>