From cb100a053906be4af7f7921637b8000972efb1e9 Mon Sep 17 00:00:00 2001 From: James Nylen Date: Thu, 16 Feb 2017 23:30:43 +0000 Subject: [PATCH] REST API: Fix the client test fixture generation in PHP 5.2 and 5.3. Remove `JSON_UNESCAPED_SLASHES` from the `wp_json_encode` call - this constant is not supported in PHP < 5.4, and we don't polyfill it either. Also make the PHPUnit test suite correctly exit with a non-zero exit code when `wp-tests-config.php` is not present. This was causing `grunt restapi-jsclient` to incorrectly proceed to its second step even when the first step failed with this error. Props ocean90. Fixes #39264. Built from https://develop.svn.wordpress.org/trunk@40065 git-svn-id: http://core.svn.wordpress.org/trunk@40002 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 8d907de61c..0f16e0774a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40064'; +$wp_version = '4.8-alpha-40065'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.