Derek Herman
Forum Replies Created
-
Forum: Plugins
In reply to: [OptionTree] Has the support ended on this plugin?They will tell you no. If you want to fix it then contribute a patch on GitHub.
Forum: Plugins
In reply to: [OptionTree] Inline style removing with iframe tag@fxvisuals It should be available for download shortly. Please test it and let me know.
Forum: Plugins
In reply to: [OptionTree] Inline style removing with iframe tagThe isn’t really as much an OptionTree issue as it is Core not adding
display
andvisibility
to the style attributes array in thesafe_style_css
filter. If you changed the style to something else it works. However, I’ve patched it and I’m deploying another version in a few minutes that I know works. And it will make it easier to extend if someone needs other attributes besides those two and the ones here https://core.trac.www.ads-software.com/browser/tags/5.1.1/src/wp-includes/kses.php#L2068Hi @mevikrambisht, thank you for reviewing the plugin. However, I wanted to bring something to your attention. You’re giving OptionTree a one star review based on custom code implemented in your theme. There is not a
theme-interface.php
file in OptionTree. Could you please remove this review or change it to reflect actual OptionTree functionality that you’ve reviewed.Forum: Plugins
In reply to: [OptionTree] An error of type E_ERRORThe updated OptionTree version
2.7.1
, which fixes the issue, will be available by the top of the hour.Forum: Plugins
In reply to: [OptionTree] Inline style removing with iframe tagOptionTree version
2.7.1
fixes both the missingnoscript
tag andiframe
style
attribute for users withunfiltered_html
capabilities. Version2.7.1
should be available by the top of the hour. Thank you for finding the issue.Forum: Plugins
In reply to: [OptionTree] An error of type E_ERROROne thing to note is that the old Google font API key in OptionTree doesn’t work anymore so you have to add your own key with the
ot_google_fonts_api_key
filter.Forum: Plugins
In reply to: [OptionTree] Error 500 clicking SAVE CHANGESWhat version of OptionTree?
Forum: Plugins
In reply to: [OptionTree] Option tree 2.4.2 theme modeThat is a very old version of OptionTree and you’re asking for help with your custom theme code that is being called in
functions.php
. It’s out of scope for this support forum.You should look in the error logs to see what’s broken and I’d recommend upgrading OptionTree in a controlled environment to test that it can be.
Forum: Plugins
In reply to: [OptionTree] Notice: Undefined indexOr this a code in your theme and again, I cannot help you fix it. Other than to say
Undefined index: hover
means that you have a variable that needs to be declared before you use it. So go to line 134 and add a$hover = '';
somewhere before it in an appropriate place.Forum: Plugins
In reply to: [OptionTree] Notice: Undefined indexOptionTree does not have a
theme-interface.php
file, you have a modified copy and I cannot help you fix it. Sorry.Forum: Plugins
In reply to: [OptionTree] Inline style removing with iframe tagThis can be fixed with a filter. Try this and let me know if it fixes it and I’ll patch the plugin.
add_filter( 'ot_allowed_html', function( $tags ) { $tags['noscript'] = array(); return $tags; }, 10, 1 );
Forum: Plugins
In reply to: [OptionTree] An error of type E_ERRORHowever, the fact is says the
typography
option type gives me some concern because it’s sanitized above in the code. Maybe someone extended the option type in your theme?Forum: Plugins
In reply to: [OptionTree] An error of type E_ERROR@insearchofasolution The
ot_validate_setting_input_safe
notice means you have a custom option type that is not using the new filter. It’s technically harmless, unless the data is not being saved after being ran through_sanitize_recursive
. In order to ensure the data is being sanitized and validated correctly I had to create a way to notify users that the old way is wrong but still try and sanitize the data. In most cases things will be fine but the notice is there to let you know a custom option type needs to be updated to use the newot_validate_setting_input_safe
filter.Forum: Plugins
In reply to: [OptionTree] An error of type E_ERRORI’ll push out a hotfix version tomorrow.