Skip to content

Commit

Permalink
fixes #1429
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 26, 2017
1 parent 22857e9 commit 4baebec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class-kirki-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function __construct( $config_id = 'global', $args = array() ) {
// assume that the provided argument is $args and set $config_id = 'global'.
if ( is_array( $config_id ) && empty( $args ) ) {
$args = $config_id;
$this->kirki_config = 'global';
$config_id = 'global';
}
$this->kirki_config = trim( esc_attr( $config_id ) );
if ( '' === $config_id ) {
Expand Down

0 comments on commit 4baebec

Please sign in to comment.