mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3385,7 +3385,7 @@ function wp_scheduled_delete() {
|
||||
}
|
||||
|
||||
$comments_to_delete = $wpdb->get_results($wpdb->prepare("SELECT comment_id FROM $wpdb->commentmeta WHERE meta_key = '_wp_trash_meta_time' AND meta_value < '%d'", $delete_timestamp), ARRAY_A);
|
||||
|
||||
|
||||
foreach ( (array) $comments_to_delete as $comment ) {
|
||||
wp_delete_comment($comment['comment_id']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user