Expands the use of `wp_get_wp_version()` to get an unmodified value of the current WordPress version in various locations in which it would be unhelpful if a plugin has modified the global `$wp_version`. This includes: * Theme and plugin compatibility tests * During the upgrade process of WP Core * Debug and site health data reports of the current version * Version number display in the dashboard * Block theme export and caching utilities * The `WPDB` class Props peterwilsoncc, hellofromtonya. See #61627. Built from https://develop.svn.wordpress.org/trunk@59159 git-svn-id: http://core.svn.wordpress.org/trunk@58554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
45 KiB
45 KiB