Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@17360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5268a0e7d8
commit
4ffa4e4f4e
|
@ -208,13 +208,13 @@ switch ( $_GET['action'] ) {
|
|||
|
||||
case 'spam':
|
||||
$blogfunction = 'all_spam';
|
||||
update_blog_status( $val, 'spam', '1', 0 );
|
||||
update_blog_status( $val, 'spam', '1' );
|
||||
set_time_limit( 60 );
|
||||
break;
|
||||
|
||||
case 'notspam':
|
||||
$blogfunction = 'all_notspam';
|
||||
update_blog_status( $val, 'spam', '0', 0 );
|
||||
update_blog_status( $val, 'spam', '0' );
|
||||
set_time_limit( 60 );
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue