Skip to content

Commit

Permalink
fixes #1467
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jul 21, 2017
1 parent 9d6026b commit c0d0c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/css/class-kirki-output.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit c0d0c89

Please sign in to comment.