Skip to content
New issue

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

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

Open
wp-organic opened this issue Jun 28, 2019 · 7 comments
Open

Comments

@wp-organic
Copy link

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 🙂

@loorlab
Copy link

loorlab commented Jul 30, 2019

+1

1 similar comment
@WeatherfordDigital
Copy link

+1

@wp-organic
Copy link
Author

Hello @valendesigns,

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

Thanks in advance.

@wp-organic
Copy link
Author

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
Copy link
Author

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.

@sametp
Copy link

sametp commented Sep 3, 2019

important issue.
+1

@tambaqui
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants