Fix wp_localize_script argument.
This commit is contained in:
parent
842fca9501
commit
51dddaa4da
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class Seedlet_Custom_Colors {
|
|||
wp_script_add_data( $handle, 'data', sprintf( 'var seedletValidateWCAGColorContrastExports = %s;', wp_json_encode( $exports ) ) );
|
||||
|
||||
// Custom color contrast validation text
|
||||
wp_localize_script( $handle, 'seedletValidateContrastText', esc_html__( 'This color combination may be hard for people to read. Try using a brighter background color and/or a darker foreground color.', 'seedlet' ) );
|
||||
wp_localize_script( $handle, 'seedletValidateContrastText', array( esc_html__( 'This color combination may be hard for people to read. Try using a brighter background color and/or a darker foreground color.', 'seedlet' ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue