Changeset 8396
- Timestamp:
- 05/07/2014 01:32:35 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/testcase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r8394 r8396 113 113 $path = stripslashes( $_SERVER['REQUEST_URI'] ); 114 114 115 if ( version_compare( $GLOBALS['wp_version'], '3.9', '>=' ) ) { 115 // Get a cleaned-up version of the wp_version string 116 // (strip -src, -alpha, etc which may trip up version_compare()) 117 $wp_version = (float) $GLOBALS['wp_version']; 118 if ( version_compare( $wp_version, '3.9', '>=' ) ) { 116 119 117 120 if ( is_admin() ) {
Note: See TracChangeset
for help on using the changeset viewer.