Skip to content

v13.34.3

Choose a tag to compare

@github-actions github-actions released this 05 Oct 11:42
· 389 commits to main since this release
e34b40d

Fixed

  • Each discovered item is applied once per request. The engine applied every discovery again for each scanned location and module engine (5 times per request on a typical project), with all the items found so far: each #[Schedule] task had 5 callbacks on its cron hook and ran 5 times per cron run, each #[WpRestRoute] route exposed 5 identical endpoints, cron_schedules and init collected duplicate closures. Measured on a project with WooCommerce: apply() time per request 6.6 ms → 2.6 ms, 80 fewer hook callbacks; registered post types, taxonomies, REST routes, cron events, WP-CLI commands and rendered pages unchanged (#386)