You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Active callback with contains operator not works with not-array (for example with radio-image control).
Code works with Kirki 3.0.9.
From old documentation:
"contains, in : If the context is an array then we’ll check if the value defined exists in the array (using PHP’s in_array() function. If on the other hand the context is a string then we’ll check if the string contains the value defined using PHP’s strpos() and checking not the position of the string but whether the result returns false or not (using === for safety)."
Issue description:
Active callback with contains operator not works with not-array (for example with radio-image control).
Code works with Kirki 3.0.9.
From old documentation:
"contains, in : If the context is an array then we’ll check if the value defined exists in the array (using PHP’s in_array() function. If on the other hand the context is a string then we’ll check if the string contains the value defined using PHP’s strpos() and checking not the position of the string but whether the result returns false or not (using === for safety)."
Version used:
3.0.22
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
The text was updated successfully, but these errors were encountered: