This commit is contained in:
Matthias Pfefferle 2023-11-06 12:23:04 +01:00
parent 1353c89b38
commit d12708e746

View file

@ -105,7 +105,9 @@ class Scheduler {
*
* transition_comment_status()
*
* @param int $comment
* @param string $new_status New comment status.
* @param string $old_status Old comment status.
* @param WP_Comment $comment Comment object.
*/
public static function schedule_comment_activity( $new_status, $old_status, $comment ) {
$comment = get_comment( $comment );