Skip redirect when defined DOING_CRON