From 8175cde11a1cc10ce16fb27ef3af4aba73d22b68 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 7 Jan 2013 03:59:44 +0000 Subject: [PATCH] Ensure we wp_die() at the end of an ajax action. see #23055. git-svn-id: https://develop.svn.wordpress.org/trunk@23293 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/ajax-actions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index c39effe75e..7022c470b1 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -903,6 +903,7 @@ function wp_ajax_add_menu_item() { ); echo walk_nav_menu_tree( $menu_items, 0, (object) $args ); } + wp_die(); } function wp_ajax_add_meta() {