소스 검색

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' );