Changeset 42097
- Timestamp:
- 10/31/2017 06:01:50 PM (7 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9/src/readme.html
r41519 r42097 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 3.9.2013 12 </h1> 14 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> -
branches/3.9/tests/phpunit/tests/basic.php
r40248 r42097 21 21 function test_true() { 22 22 $this->assertTrue($this->val); 23 }24 25 function test_readme() {26 $readme = file_get_contents( ABSPATH . 'readme.html' );27 preg_match( '#<br /> Version (.*)#', $readme, $matches );28 list( $version ) = explode( '-', $GLOBALS['wp_version'] );29 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );30 23 } 31 24
Note: See TracChangeset
for help on using the changeset viewer.