When deleting suspicious comments, do so permanently.

git-svn-id: https://develop.svn.wordpress.org/trunk@32310 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2015-04-27 16:10:50 +00:00
parent ae1f6413c9
commit 0b868edb8e
1 changed files with 1 additions and 1 deletions

View File

@ -1460,7 +1460,7 @@ function upgrade_430() {
);
foreach ( $comments as $comment ) {
wp_delete_comment( $comment->comment_ID );
wp_delete_comment( $comment->comment_ID, true );
}
}
}