mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 23:54:33 +00:00
More comment functions can accept a full object instead of comment_ID to reduce cache/db lookups.
See ##33638. git-svn-id: https://develop.svn.wordpress.org/trunk@34129 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4265,7 +4265,7 @@ function wp_scheduled_delete() {
|
||||
delete_comment_meta($comment_id, '_wp_trash_meta_time');
|
||||
delete_comment_meta($comment_id, '_wp_trash_meta_status');
|
||||
} else {
|
||||
wp_delete_comment($comment_id);
|
||||
wp_delete_comment( $del_comment );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user