Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- An integration suite (`tests/Integration`, `composer test:integration`) that runs against a real WordPress and, for the Action Scheduler driver, the real plugin: a recurring event in the `cron` option and its interval, the time of day on the site's clock, a due event run by `wp-cron.php` in another process, an event kept in Action Scheduler's store and indexed in the `cron` option, what a plugin schedules with the core functions, and the plugin's queue runner. It is not part of the default `pest` run; the harness's optional `WordPress integration` job starts it.

### Changed

- Accepts pollora/discovery ^0.3 (`^0.1 || ^0.2 || ^0.3 || ^1.0`)

### Fixed

- `Schedule::cancel()` and `Schedule::clear()` counted an event twice, with Action Scheduler as the driver: the entry the index keeps in the `cron` option was still there when WP-Cron cleared the same hook, and the core counted it as one more event. The entry is taken out of the index as soon as the driver has cancelled the event.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"require": {
"php": "^8.3",
"pollora/attributes": "^0.1 || ^1.0",
"pollora/discovery": "^0.1 || ^0.2 || ^1.0",
"pollora/discovery": "^0.1 || ^0.2 || ^0.3 || ^1.0",
"psr/container": "^1.1 || ^2.0",
"psr/log": "^3.0"
},
Expand Down
Loading