From fb0a08c8be06bc07ce8fef6af7166700247c3f51 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 27 Apr 2017 16:23:47 +0000 Subject: [PATCH] Fix broken `check_comment()` test. The test `Tests_Comment_CheckComment::test_should_return_true_when_content_does_not_match_moderation_keys()` did not, in fact, test for a `true` value, but for a false one. Switching to `assertTrue()` caused a failure, because the test comment triggered the 'comment_moderation' test. As in other tests in the file, the solution is to force 'comment_moderation' to 0 for the purposes of the test. Introduced in [32519]. Props stephdau. Fixes #40584. Built from https://develop.svn.wordpress.org/trunk@40557 git-svn-id: http://core.svn.wordpress.org/trunk@40426 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 f1e9c24ca1..61c43ed469 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40556'; +$wp_version = '4.8-alpha-40557'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.