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
This bug is caused by a call to array_filter in CMB2.php (line 596 in the current code base). I have commented it out for now, but this was obviously put in for a reason, and I'm hoping the CMB2 folks can answer why or if it is still needed.
Please don't ever edit CMB2 core, for some of the same reasons you would not edit WordPress core. If you modify something to 'fix' it for yourself, there is no guarantee that you are not then breaking it for somebody else who is using the library. CMB2 only ever loads one instance of itself, so if your (edited) version is the one that gets loaded, all other plugins/themes/etc depending on CMB2 will now be using your (edited) version.
custom options page fields within repeatable groups display array() if empty fields are saved.
the custom options page is calling the function below:
wordpress version: 4.2.2
CMB2 version: 2.0.6
The text was updated successfully, but these errors were encountered: