From 1e925a5ae3faccad31c48c810af3954d01a60f0e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 21 Mar 2019 21:36:51 +0000 Subject: [PATCH] PHPCS: Remove extra tabs added in [44970]. See #44237. Built from https://develop.svn.wordpress.org/trunk@44972 git-svn-id: http://core.svn.wordpress.org/trunk@44803 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 1cb9be5ada..5e89ef7695 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -756,7 +756,7 @@ function wp_allow_comment( $commentdata, $avoid_die = false ) { if ( $is_flood ) { /** This filter is documented in wp-includes/comment-template.php */ $comment_flood_message = apply_filters( 'comment_flood_message', __( 'You are posting comments too quickly. Slow down.' ) ); - + return new WP_Error( 'comment_flood', $comment_flood_message, 429 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index ee673e6d6e..710dca6eed 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-44971'; +$wp_version = '5.2-alpha-44972'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.