mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 00:24:52 +01:00
This destroys other shutdown actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@6631 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
29ae6c24c8
commit
2597886ab2
@ -20,9 +20,6 @@ if ( 'ajax-tag-search' == $_GET['action'] ) {
|
||||
die;
|
||||
}
|
||||
|
||||
function get_out_now() { exit; }
|
||||
add_action( 'shutdown', 'get_out_now', -1 );
|
||||
|
||||
$id = (int) $_POST['id'];
|
||||
switch ( $action = $_POST['action'] ) :
|
||||
case 'add-post' :
|
||||
|
Loading…
x
Reference in New Issue
Block a user