Make WordPress Core


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

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

See #42386

File:
1 edited

Legend:

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

    r40244 r42093  
    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.