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
This commit is contained in:
Andrew Nacin 2013-01-07 03:59:44 +00:00
parent fcbb71ad77
commit 8175cde11a

View File

@ -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() {