cleanup confirm delete users, props ocean90, fixes #12386

git-svn-id: https://develop.svn.wordpress.org/trunk@13504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick
2010-02-28 16:58:17 +00:00
parent 28f4212cd2
commit a67e4e0f82
2 changed files with 26 additions and 10 deletions

View File

@@ -471,6 +471,7 @@ switch ( $_GET['action'] ) {
echo '<div class="wrap" style="position:relative;">';
confirm_delete_users( $_POST['allusers'] );
echo '</div>';
require_once('admin-footer.php');
} elseif ( isset( $_POST[ 'alluser_transfer_delete' ] ) ) {
if ( is_array( $_POST[ 'blog' ] ) && !empty( $_POST[ 'blog' ] ) ) {
foreach ( $_POST[ 'blog' ] as $id => $users ) {