Skip to content

Commit 742fbda

Browse files
authored
Update class-scheduler.php (#688)
1 parent 98824d3 commit 742fbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-scheduler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static function schedule_comment_activity( $new_status, $old_status, $com
193193
$type = 'Delete';
194194
}
195195

196-
if ( ! $type ) {
196+
if ( empty( $type ) ) {
197197
return;
198198
}
199199

0 commit comments

Comments
 (0)