Make WordPress Core

Changeset 42094


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

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

See #42386

Location:
branches/4.2
Files:
2 edited

Legend:

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

    r41516 r42094  
    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.2.16
    1312</h1>
    1413<p style="text-align: center">Semantic Personal Publishing Platform</p>
  • 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.