Browse Source

Varia: Fix fatal

Danny Dudzic 4 years ago
parent
commit
9bce516afc
1 changed files with 1 additions and 4 deletions
  1. 1 4
      varia/functions.php

+ 1 - 4
varia/functions.php

@@ -201,10 +201,7 @@ if ( ! function_exists( 'varia_setup' ) ) :
 		$editor_colors_array = apply_filters( 'varia_editor_color_palette', $editor_colors_array );
 		$editor_colors_array = apply_filters( 'varia_editor_color_palette', $editor_colors_array );
 
 
 		// Editor color palette.
 		// Editor color palette.
-		add_theme_support(
-			'editor-color-palette',
-			$editor_colors_array,
-		);
+		add_theme_support( 'editor-color-palette', $editor_colors_array );
 
 
 		// Add support for responsive embedded content.
 		// Add support for responsive embedded content.
 		add_theme_support( 'responsive-embeds' );
 		add_theme_support( 'responsive-embeds' );