Opened 4 weeks ago
Last modified 2 weeks ago
#65350 new defect (bug)
Possible duplicate update event firing during wp_maybe_auto_update
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 7.0 |
| Component: | Upgrade/Install | Keywords: | needs-testing 2nd-opinion |
| Focuses: | Cc: |
Description
Manual updates and WP-CLI updates behave normally.
However, when updates are triggered through wp_maybe_auto_update, update events appear to fire multiple times for the same update process.
Observed behavior:
- Automatic update process triggers multiple update events within seconds
- Does not reproduce with manual updates
- Does not reproduce with WP-CLI updates
Environment:
- WordPress 7.0
- PHP 8.3.x
Change History (4)
This ticket was mentioned in Slack in #core by abdullahramzan. View the logs.
2 weeks ago
#4
@
2 weeks ago
Hi @desrosj,
I believe this because I observe the update start only once, but the update completion twice.
In my logs, the update start processing is observed only once, but the completion processing appears to run twice for the same automatic update cycle.
The second completion processing occurs even though I do not observe another corresponding start event.
That is why I suspect that the update completion event may be delivered twice during a single wp_maybe_auto_update execution.
Hi @r3098, welcome to Trac!
Could you share more about how you are observing that the events fire twice?