Make WordPress Core


Ignore:
Timestamp:
10/31/2017 06:03:50 PM (7 years ago)
Author:
johnbillion
Message:

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

See #42386

File:
1 edited

Legend:

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

    r32150 r42098  
    2121    function test_true() {
    2222        $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." );
    3023    }
    3124
Note: See TracChangeset for help on using the changeset viewer.