瀏覽代碼

Merge pull request #3348 from Automattic/fix/3313-varia-fatal

Varia: Fix fatal
Ben Dwyer 4 年之前
父節點
當前提交
40fca4df20
共有 1 個文件被更改,包括 1 次插入4 次删除
  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 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_theme_support( 'responsive-embeds' );