Changeset 39582
- Timestamp:
- 12/12/2016 07:59:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7/tests/phpunit/tests/external-http/basic.php
r35172 r39582 8 8 $readme = file_get_contents( ABSPATH . 'readme.html' ); 9 9 preg_match( '#<br /> Version (.*)#', $readme, $matches ); 10 list( $version ) = explode( '-', $GLOBALS['wp_version'] );10 $version = (float) $GLOBALS['wp_version']; 11 11 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." ); 12 12
Note: See TracChangeset
for help on using the changeset viewer.