Skip to content

Commit

Permalink
fixes #960
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 9, 2016
1 parent e02514e commit 1c0a2f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions includes/class-kirki-l10n.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public static function get_strings( $config_id = 'global' ) {
'open-editor' => esc_attr__( 'Open Editor', 'kirki' ),
'close-editor' => esc_attr__( 'Close Editor', 'kirki' ),
'switch-editor' => esc_attr__( 'Switch Editor', 'kirki' ),
'hex-value' => esc_attr__( 'Hex Value', 'kirki' ),
);

$config = apply_filters( 'kirki/config', array() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public function repeater_js_template() {
<# if ( field.description ) { #>
<span class="description customize-control-description">{{{ field.description }}}</span>
<# } #>
<input class="color-picker-hex" type="text" maxlength="7" placeholder="<?php esc_attr_e( 'Hex Value' ); ?>" value="{{{ field.default }}}" data-field="{{{ field.id }}}" {{ defaultValue }} />
<input class="color-picker-hex" type="text" maxlength="7" placeholder="{{ window.kirki.l10n['hex-value'] }}" value="{{{ field.default }}}" data-field="{{{ field.id }}}" {{ defaultValue }} />

</label>

Expand Down

0 comments on commit 1c0a2f2

Please sign in to comment.