From c0d0c896e2f655d4ce49b9e638683cf1e982fd06 Mon Sep 17 00:00:00 2001 From: Aristeides Stathopoulos Date: Sat, 22 Jul 2017 02:27:23 +0300 Subject: [PATCH] fixes #1467 --- modules/css/class-kirki-output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/css/class-kirki-output.php b/modules/css/class-kirki-output.php index 2cea543f7..802fd3f0f 100644 --- a/modules/css/class-kirki-output.php +++ b/modules/css/class-kirki-output.php @@ -97,7 +97,7 @@ protected function apply_sanitize_callback( $output, $value ) { protected function apply_value_pattern( $output, $value ) { if ( isset( $output['value_pattern'] ) && ! empty( $output['value_pattern'] ) && is_string( $output['value_pattern'] ) ) { - if ( is_string( $value ) ) { + if ( ! is_array( $value ) ) { $value = str_replace( '$', $value, $output['value_pattern'] ); } if ( is_array( $value ) ) {