Make WordPress Core

Changeset 39583


Ignore:
Timestamp:
12/12/2016 08:00:24 AM (8 years ago)
Author:
dd32
Message:

Remove the WordPress version number from readme.html.

See #35554

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/readme.html

    r39428 r39583  
    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.8
    1312</h1>
    1413<p style="text-align: center">Semantic Personal Publishing Platform</p>
  • trunk/tests/phpunit/tests/external-http/basic.php

    r35172 r39583  
    77    function test_readme() {
    88        $readme = file_get_contents( ABSPATH . 'readme.html' );
    9         preg_match( '#<br /> Version (.*)#', $readme, $matches );
    10         list( $version ) = explode( '-', $GLOBALS['wp_version'] );
    11         $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );
    129
    1310        preg_match( '#Recommendations.*PHP</a> version <strong>([0-9.]*)#s', $readme, $matches );
Note: See TracChangeset for help on using the changeset viewer.