Ensure we wp_die() at the end of an ajax action. see #23055.

git-svn-id: http://core.svn.wordpress.org/trunk@23293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-01-07 03:59:44 +00:00
parent 5d980a8e8e
commit 1fa8476425
1 changed files with 1 additions and 0 deletions

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