Don't pass deprecated arg to update_blog_status(). Props PeteMall. fixes #15605

git-svn-id: https://develop.svn.wordpress.org/trunk@17360 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-01-25 17:39:10 +00:00
parent 87da8df4f1
commit fd7c566154

View File

@ -208,13 +208,13 @@ switch ( $_GET['action'] ) {
case 'spam': case 'spam':
$blogfunction = 'all_spam'; $blogfunction = 'all_spam';
update_blog_status( $val, 'spam', '1', 0 ); update_blog_status( $val, 'spam', '1' );
set_time_limit( 60 ); set_time_limit( 60 );
break; break;
case 'notspam': case 'notspam':
$blogfunction = 'all_notspam'; $blogfunction = 'all_notspam';
update_blog_status( $val, 'spam', '0', 0 ); update_blog_status( $val, 'spam', '0' );
set_time_limit( 60 ); set_time_limit( 60 );
break; break;
} }