Changeset 39583
- Timestamp:
- 12/12/2016 08:00:24 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/readme.html
r39428 r39583 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.813 12 </h1> 14 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> -
trunk/tests/phpunit/tests/external-http/basic.php
r35172 r39583 7 7 function test_readme() { 8 8 $readme = file_get_contents( ABSPATH . 'readme.html' ); 9 preg_match( '#<br /> Version (.*)#', $readme, $matches );10 list( $version ) = explode( '-', $GLOBALS['wp_version'] );11 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );12 9 13 10 preg_match( '#Recommendations.*PHP</a> version <strong>([0-9.]*)#s', $readme, $matches );
Note: See TracChangeset
for help on using the changeset viewer.