From c0065475f380496e847c0aedba75fd8fd4355922 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 20 Jul 2022 14:22:08 +0000 Subject: [PATCH] Coding Standards: Remove extra comma in a `compact()` call. This fixes a PHP compatibility error in `wp_handle_comment_submission()`: * `Trailing comma's are not allowed in function calls in PHP 7.2 or earlier` Follow-up to [53729]. See #55647, #56244. Built from https://develop.svn.wordpress.org/trunk@53730 git-svn-id: http://core.svn.wordpress.org/trunk@53289 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 70d7a488dd..4669aa41c8 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -3596,7 +3596,7 @@ function wp_handle_comment_submission( $comment_data ) { 'comment_author_url', 'comment_content', 'comment_type', - 'comment_parent', + 'comment_parent' ); /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 68e4a60341..a7842c32e1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53729'; +$wp_version = '6.1-alpha-53730'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.