Skip to content

v26.04.04

Choose a tag to compare

@nawawi nawawi released this 17 Apr 19:55
· 5 commits to master since this release

Release v26.04.04

  • Added: Configuration UI toggle for WP-CLI OPcache Invalidation (mirrors DOCKET_CACHE_WPCLI_OPCACHE constant).
  • Fixed: CliOpcache::notify() -> Buffered per-file notifications at shutdown to prevent HTTP request floods during GC and individual cache unlinks.
  • Fixed: CliOpcache -> REST route registered before compat check to eliminate 404 noise when workers bail early under load.
  • Fixed: CronAgent::receive_ping() -> Type-safety guard on ping inputs to prevent PHP 8 TypeError from array-form values.
  • Fixed: CronAgent::receive_ping() -> Explicit return after close_ping() when CRONBOT is disabled.
  • Fixed: CronAgent::receive_ping() -> Multisite loop isolates per-site errors via try/catch; wpcron_error reported so cronbot server detects persistent failures.
  • Fixed: CronAgent::run_wpcron() -> Re-entry guard via instance flag and try/finally.
  • Fixed: CronAgent::run_wpcron() -> ob_end_clean() on exception path; stop decrementing $run_event below zero.
  • Fixed: CronAgent::run_wpcron() -> Pre-init $results and $cron_event to prevent PHP 8 undefined-variable warnings.
  • Fixed: CronAgent::run_wpcron() -> REQUEST_URI check uses urldecode() and checks wp_doing_cron() first to avoid URL-encoded bypass.
  • Fixed: CronAgent::send_action() -> Cache key includes action to prevent collision between on/off calls from the same IP.
  • Improved: CronAgent::send_action() -> $stmp cache-buster refreshes every 5 minutes to avoid CDN staleness in long-running processes.
  • Improved: CronAgent::check_connection() -> Skip on AJAX/REST/cron requests to reduce shutdown-hook overhead on high-traffic endpoints.