mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00: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:
@@ -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' :
|
||||
|
||||
Reference in New Issue
Block a user