From 54c72a97cb36c1c886f133cc95c8b1deb1e9661e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 13 Jan 2011 08:39:26 +0000 Subject: [PATCH] Don't use deprecated arguments. props PeteMall, see #15605. git-svn-id: https://develop.svn.wordpress.org/trunk@17287 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/network/edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/network/edit.php b/wp-admin/network/edit.php index e785d381d9..1e06e492f4 100644 --- a/wp-admin/network/edit.php +++ b/wp-admin/network/edit.php @@ -410,7 +410,7 @@ switch ( $_GET['action'] ) { if ( $details->userblog_id != $current_site->blog_id ) // main blog not a spam ! update_blog_status( $details->userblog_id, 'spam', '1' ); } - update_user_status( $val, 'spam', '1', 1 ); + update_user_status( $val, 'spam', '1' ); break; case 'notspam': @@ -419,7 +419,7 @@ switch ( $_GET['action'] ) { foreach ( (array) $blogs as $key => $details ) update_blog_status( $details->userblog_id, 'spam', '0' ); - update_user_status( $val, 'spam', '0', 1 ); + update_user_status( $val, 'spam', '0' ); break; } }