Make WordPress Core


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

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

See #42386

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5/tests/phpunit/tests/external-http/basic.php

    r40242 r42102  
    1010
    1111        $readme = file_get_contents( ABSPATH . 'readme.html' );
    12         preg_match( '#<br /> Version (.*)#', $readme, $matches );
    13         list( $version ) = explode( '-', $GLOBALS['wp_version'] );
    14         $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );
    15 
    1612        preg_match( '#Recommendations.*PHP</a> version <strong>([0-9.]*)#s', $readme, $matches );
    1713
Note: See TracChangeset for help on using the changeset viewer.