humanmade / humanmade/Cavalcade

CAVALCADE_JOB_ID and DOING_CRON constants are defined at a very advanced stage of execution

Open
#63 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
542
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Hey, this is Luca from FFX. Our paths cross again =)

I can see both `CAVALCADE_JOB_ID` and `DOING_CRON` constants are defined in Command::run() just before the actual execution of the scheduled hook.

That means I cannot access them during, say, any `init` or `admin_init` hook.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.