Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions includes/class-wp-convertkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,7 @@ public function is_cli() {
*/
public function is_cron() {

if ( ! defined( 'DOING_CRON' ) ) {
return false;
}
if ( ! DOING_CRON ) {
return false;
}

return true;
return wp_doing_cron();

}

Expand Down