This destroys other shutdown actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0aee557b68
commit
43093f6038
|
@ -20,9 +20,6 @@ if ( 'ajax-tag-search' == $_GET['action'] ) {
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_out_now() { exit; }
|
|
||||||
add_action( 'shutdown', 'get_out_now', -1 );
|
|
||||||
|
|
||||||
$id = (int) $_POST['id'];
|
$id = (int) $_POST['id'];
|
||||||
switch ( $action = $_POST['action'] ) :
|
switch ( $action = $_POST['action'] ) :
|
||||||
case 'add-post' :
|
case 'add-post' :
|
||||||
|
|
Loading…
Reference in New Issue