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

See #42386


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@42100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-10-31 18:05:59 +00:00
parent 0c987581fe
commit 4e26af05f6
2 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@
<body>
<h1 id="logo">
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
<br /> Version 4.7
</h1>
<p style="text-align: center">Semantic Personal Publishing Platform</p>

View File

@ -9,10 +9,6 @@ class Tests_External_HTTP_Basic extends WP_UnitTestCase {
$this->skipOnAutomatedBranches();
$readme = file_get_contents( ABSPATH . 'readme.html' );
preg_match( '#<br /> Version (.*)#', $readme, $matches );
$version = (float) $GLOBALS['wp_version'];
$this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );
preg_match( '#Recommendations.*PHP</a> version <strong>([0-9.]*)#s', $readme, $matches );
$response = wp_remote_get( 'https://secure.php.net/supported-versions.php' );