Changeset 58843 for trunk/src/wp-includes/functions.php
- Timestamp:
- 08/02/2024 10:36:27 PM (22 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r58827 r58843 8834 8834 * @since 5.2.0 8835 8835 * 8836 * @global string $ wp_version The WordPress version string.8836 * @global string $_wp_tests_wp_version The WordPress version string. Used only in Core tests. 8837 8837 * 8838 8838 * @param string $required Minimum required WordPress version. … … 8840 8840 */ 8841 8841 function is_wp_version_compatible( $required ) { 8842 global $wp_version; 8842 if ( 8843 defined( 'WP_RUN_CORE_TESTS' ) 8844 && WP_RUN_CORE_TESTS 8845 && isset( $GLOBALS['_wp_tests_wp_version'] ) 8846 ) { 8847 $wp_version = $GLOBALS['_wp_tests_wp_version']; 8848 } else { 8849 $wp_version = wp_get_wp_version(); 8850 } 8843 8851 8844 8852 // Strip off any -alpha, -RC, -beta, -src suffixes.
Note: See TracChangeset
for help on using the changeset viewer.