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:
parent
ae1f6413c9
commit
0b868edb8e
|
@ -1460,7 +1460,7 @@ function upgrade_430() {
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $comments as $comment ) {
|
foreach ( $comments as $comment ) {
|
||||||
wp_delete_comment( $comment->comment_ID );
|
wp_delete_comment( $comment->comment_ID, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue