option-tree icon indicating copy to clipboard operation
option-tree copied to clipboard

Option setting not reset and list-item meta box not showing properly

Open wp-organic opened this issue 5 years ago • 7 comments

Hello team,

First of all, thank you for creating best plugin. when we upgrade your plugin version 2.7.3 we facing issue below.

  1. 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.
Option Reset Setting
  1. 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.

Before List Item

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

After List Item

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

WordPress.org support ticket

we create screen recording so this is helpful for finding issue with newest version of plugin 2.7.3.

Screen recording for issue

Thanks in advance 🙂

wp-organic avatar Jun 28 '19 09:06 wp-organic

+1

loorlab avatar Jul 30 '19 05:07 loorlab

+1

WeatherfordDigital avatar Jul 31 '19 10:07 WeatherfordDigital

Hello @valendesigns,

Can you help me ? still i am waiting for your positive response.

Thanks in advance.

wp-organic avatar Aug 12 '19 08:08 wp-organic

Hello team,

First of all, thank you for creating best plugin. when we upgrade your plugin version 2.7.3 we facing issue below.

  1. 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.
Option Reset Setting
  1. 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.

Before List Item

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

After List Item

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

WordPress.org support ticket

we create screen recording so this is helpful for finding issue with newest version of plugin 2.7.3.

Screen recording for issue

Thanks in advance 🙂

wp-organic avatar Aug 12 '19 08:08 wp-organic

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.

wp-organic avatar Aug 29 '19 14:08 wp-organic

important issue. +1

sametp avatar Sep 03 '19 14:09 sametp

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 );

tambaqui avatar Oct 30 '19 11:10 tambaqui