five-for-the-future/plugins
Dion Hulse d835246f3f
When a pledge has no contributors, return zero contributors/hours
This avoids a PHP Notice during the cron task to update the contributor/hour counters.

By returning 0 here we have "valid" metadata attached to the pledge posts, which removes the need for further logic there.

Closes #151
2020-10-07 13:46:00 +10:00
..
wporg-5ftf When a pledge has no contributors, return zero contributors/hours 2020-10-07 13:46:00 +10:00