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:
parent
5d980a8e8e
commit
1fa8476425
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue