option-tree
option-tree copied to clipboard
Option setting not reset and list-item meta box not showing properly
Hello team,
First of all, thank you for creating best plugin. when we upgrade your plugin version 2.7.3 we facing issue below.
- Theme option reset setting button click to show notice. — Notice: ot_validate_setting was called incorrectly. All stored data must be filtered through ot_validate_setting_input_safe, the list-item option type is not using this filter. This is required since version 2.7.3.

- My list-item MetaBox is showing only these setting after upgrade version 2.7.3. ( Title, Image, Add Media, Link, Description ).
Screenhost :
Option Tree Plugin version 2.7.0 using meta is working properly.

After upgrade Option Tree Plugin version 2.7.3 we facing issue with list item type.

Please help!! or give me an example of code so, we improve my code with your latest version compatible. we find in google but not found any solution after we create support ticket generate.
We used your provided demo code still not solved issue. your code : Your Options
we create screen recording so this is helpful for finding issue with newest version of plugin 2.7.3.
Thanks in advance 🙂
+1
+1
Hello @valendesigns,
Can you help me ? still i am waiting for your positive response.
Thanks in advance.
Hello team,
First of all, thank you for creating best plugin. when we upgrade your plugin version 2.7.3 we facing issue below.
- Theme option reset setting button click to show notice. — Notice: ot_validate_setting was called incorrectly. All stored data must be filtered through ot_validate_setting_input_safe, the list-item option type is not using this filter. This is required since version 2.7.3.
![]()
- My list-item MetaBox is showing only these setting after upgrade version 2.7.3. ( Title, Image, Add Media, Link, Description ).
Screenhost :
Option Tree Plugin version 2.7.0 using meta is working properly.
![]()
After upgrade Option Tree Plugin version 2.7.3 we facing issue with list item type.
![]()
Please help!! or give me an example of code so, we improve my code with your latest version compatible. we find in google but not found any solution after we create support ticket generate.
We used your provided demo code still not solved issue. your code : Your Options
we create screen recording so this is helpful for finding issue with newest version of plugin 2.7.3.
Thanks in advance 🙂
Hello Derek Herman,
Still, I am waiting for your response.
WordPress.org : https://wordpress.org/support/topic/theme-setting-not-reset-and-list-item-meta-box-not-showing-properly/
My next projects we are not using your plugin.
Thank you for your best support sir.
important issue. +1
It seems that the problem is being caused by the change in the ot_decode method, line 5063 of the ot-functions-admin.php file:
In version 2.7.3 (not working):
preg_match( '/O|C:\+?\d+:"[a-z0-9_]+":\+?\d+:/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );
In version 2.7.2 (working):
preg_match( '/O:\d+:"[a-z0-9_]+":\d+:{.*?}/i', $decoded, $obj_matches, PREG_OFFSET_CAPTURE, 0 );