From 439d07a87349fd91b8a613ec34cc03a18fcb982f Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Fri, 24 Jun 2022 13:19:50 +0100 Subject: [PATCH] Remove trailing comma in function call This trailing comma triggers php parse error. This will block wordpress from starting up fully on php7. Fixes #132 --- settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.php b/settings.php index 667ed69..6fea2a2 100644 --- a/settings.php +++ b/settings.php @@ -30,7 +30,7 @@ __( 'Color Scheme', 'mkaz_code_syntax_block' ), 'mkaz_code_syntax_block_color_scheme_field_callback', 'mkaz_code_syntax_block_settings', // Section - 'mkaz_code_syntax_block_color_scheme', // Setting + 'mkaz_code_syntax_block_color_scheme' // Setting ); add_settings_field( @@ -38,7 +38,7 @@ __( 'Default Language', 'mkaz_code_syntax_block' ), 'mkaz_code_syntax_block_default_lang_field_callback', 'mkaz_code_syntax_block_settings', // Section - 'mkaz_code_syntax_block_color_scheme', // Setting + 'mkaz_code_syntax_block_color_scheme' // Setting ); });