Changeset 42100
- Timestamp:
- 10/31/2017 06:05:59 PM (7 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7/src/readme.html
r39871 r42100 10 10 <h1 id="logo"> 11 11 <a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a> 12 <br /> Version 4.713 12 </h1> 14 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> -
branches/4.7/tests/phpunit/tests/external-http/basic.php
r40250 r42100 10 10 11 11 $readme = file_get_contents( ABSPATH . 'readme.html' ); 12 preg_match( '#<br /> Version (.*)#', $readme, $matches );13 $version = (float) $GLOBALS['wp_version'];14 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );15 16 12 preg_match( '#Recommendations.*PHP</a> version <strong>([0-9.]*)#s', $readme, $matches ); 17 13
Note: See TracChangeset
for help on using the changeset viewer.