From 4e26af05f646efefc0d18102f1b2339e8601bd0d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 31 Oct 2017 18:05:59 +0000 Subject: [PATCH] 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 --- src/readme.html | 1 - tests/phpunit/tests/external-http/basic.php | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/readme.html b/src/readme.html index 11a4ca1d40..8f4906425c 100644 --- a/src/readme.html +++ b/src/readme.html @@ -9,7 +9,6 @@

WordPress -
Version 4.7

Semantic Personal Publishing Platform

diff --git a/tests/phpunit/tests/external-http/basic.php b/tests/phpunit/tests/external-http/basic.php index b8ceb6861a..080a74e743 100644 --- a/tests/phpunit/tests/external-http/basic.php +++ b/tests/phpunit/tests/external-http/basic.php @@ -9,10 +9,6 @@ class Tests_External_HTTP_Basic extends WP_UnitTestCase { $this->skipOnAutomatedBranches(); $readme = file_get_contents( ABSPATH . 'readme.html' ); - preg_match( '#
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 version ([0-9.]*)#s', $readme, $matches ); $response = wp_remote_get( 'https://secure.php.net/supported-versions.php' );