From 92cbcb3da62f53cb02ef2a1bbe69f6408d2313f8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 9 Dec 2021 15:30:48 +0000 Subject: [PATCH] Coding Standards: Remove a trailing comma from a `compact()` call in `_wp_customize_include()`. This fixes a `Trailing comma's are not allowed in function calls in PHP 7.2 or earlier` error in the PHP compatibility check. Follow-up to [52348]. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@52350 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 85a4c400cf..e4256f00a1 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -3477,7 +3477,7 @@ function _wp_customize_include() { 'messenger_channel', 'settings_previewed', 'autosaved', - 'branching', + 'branching' ) ); }