Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General: Memoize the return value in
wp_get_wp_version()
.
This aims to optimize performance by saving the return value to a static variable, so that the `version.php` file is not unnecessarily required on each function call. Follow-up to [58813]. Props Cybr, debarghyabanerjee, mukesh27. Fixes #61782. See #61627. git-svn-id: https://develop.svn.wordpress.org/trunk@58827 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information