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
This commit is contained in:
Sergey Biryukov 2022-07-20 14:22:08 +00:00
parent e2a5b8684e
commit c0065475f3
2 changed files with 2 additions and 2 deletions

View File

@ -3596,7 +3596,7 @@ function wp_handle_comment_submission( $comment_data ) {
'comment_author_url',
'comment_content',
'comment_type',
'comment_parent',
'comment_parent'
);
/**

View File

@ -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.