We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use transport => postMessage and js_vars with function => html and prefix, suffix I get double output prefix and suffix
transport => postMessage
js_vars
function => html
prefix
suffix
2.3.1
theme_mods
Kirki::add_field(` 'test_kirki', array( 'settings' => 'test', 'label' => __( 'label', 'boroboro' ), 'section' => 'test_section', 'type' => 'text', 'priority' => 1, 'default' => 'text', 'transport' => 'postMessage', 'js_vars' => array( array( 'element' => 'h1.test', 'function' => 'html', 'prefix' => 'prefix-', 'suffix' => '-suffix', ), ), ) );
output: prefix-prefix-text-suffix-suffix
prefix-prefix-text-suffix-suffix
The text was updated successfully, but these errors were encountered:
e092bdb
Thank you for reporting this!
Fixed.
Sorry, something went wrong.
No branches or pull requests
Issue description:
When I use
transport => postMessage
andjs_vars
withfunction => html
andprefix
,suffix
I get double output prefix and suffix
Version used:
2.3.1
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
output:
prefix-prefix-text-suffix-suffix
The text was updated successfully, but these errors were encountered: