mirror of
git://develop.git.wordpress.org/
synced 2025-04-30 08:58:29 +02:00
Moves the logic for determining when an event will next run from `wp_next_scheduled()` to `wp_get_scheduled_event()`. This improves the performance of `wp_get_scheduled_event()` by avoiding duplicate function calls and object cache hits. Props peterwilsoncc. Fixes #45976. git-svn-id: https://develop.svn.wordpress.org/trunk@44693 602fd350-edb4-49c9-b593-d223f7449a82