mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
e2a5b8684e
commit
c0065475f3
@ -3596,7 +3596,7 @@ function wp_handle_comment_submission( $comment_data ) {
|
||||
'comment_author_url',
|
||||
'comment_content',
|
||||
'comment_type',
|
||||
'comment_parent',
|
||||
'comment_parent'
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user