Make WordPress Core


Ignore:
Timestamp:
10/31/2017 05:45:17 PM (6 years ago)
Author:
johnbillion
Message:

General: Remove the version number from the readme file in the 4.2 branch.

See #42386

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/tests/phpunit/tests/basic.php

    r40245 r42094  
    2020    function test_true() {
    2121        $this->assertTrue($this->val);
    22     }
    23 
    24     function test_readme() {
    25         $readme = file_get_contents( ABSPATH . 'readme.html' );
    26         preg_match( '#<br /> Version (.*)#', $readme, $matches );
    27         list( $version ) = explode( '-', $GLOBALS['wp_version'] );
    28         $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );
    2922    }
    3023
Note: See TracChangeset for help on using the changeset viewer.