From 57a38bed4799207429c6353b55adceb5f97b055e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 21 Mar 2019 21:35:37 +0000 Subject: [PATCH] PHPCS: Remove extra tabs added in [44970]. See #44237. git-svn-id: https://develop.svn.wordpress.org/trunk@44972 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index 1cb9be5ada..5e89ef7695 100644 --- a/src/wp-includes/comment.php +++ b/src/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 ); }