Make WordPress Core

Changeset 42095 for branches/4.1


Ignore:
Timestamp:
10/31/2017 05:46:35 PM (7 years ago)
Author:
johnbillion
Message:

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

See #42386

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1/src/readme.html

    r41517 r42095  
    1010<h1 id="logo">
    1111    <a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
    12     <br /> Version 4.1.19
    1312</h1>
    1413<p style="text-align: center">Semantic Personal Publishing Platform</p>
  • branches/4.1/tests/phpunit/tests/basic.php

    r40246 r42095  
    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.