In the “Honey Pot Error Message” settings field, I wrote a custom message that used the word “You’re”
When I saved it, it refreshed with “You\’re”
Hit save again, it refreshes with “You\\\\’re”
Hit save again, it refreshes with “You\\\\\\’re”
Hit save again, it refreshes with “You\\\\\\\\\’re”
…and so on.
Fixed it by changing /includes/wpa_functions.php line 32 to:
update_option('wpa_error_message',sanitize_text_field(stripslashes($_POST['wpa_error_message'])));
stripslashes takes care of it.
Cheers!
]]>To fix, please add stripslashes_deep function around the $POST when updating wpbs_opt.
Thanks.
]]>Here there is a solution, can you fix it?
https://wpgarage.com/code-snippets/how-to-fix-apostrophes-turning-into-slashes-in-wordpress/
Tested in 4.7.5 and 4.8, this bug remain. I use this modules:
Booster WPML
Gateways per Product or Category
Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php on line 495
Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php on line 495
Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php on line 495
Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php on line 495
Warning: stripslashes() expects parameter 1 to be string, array given in /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php on line 495
Warning: Cannot modify header information - headers already sent by (output started at /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php:495) in /home/content/76/9617676/html/wp-admin/post.php on line 197
Warning: Cannot modify header information - headers already sent by (output started at /home/content/76/9617676/html/wp-content/plugins/rps-sitemap-generator/rps-sitemap-generator.php:495) in /home/content/76/9617676/html/wp-includes/pluggable.php on line 1228
https://www.ads-software.com/plugins/rps-sitemap-generator/
]]>Warning: stripslashes() expects parameter 1 to be string, array given in /home/mvpanel1980/public_html/maxvaluesmag.com/wp-content/plugins/mailchimp/mailchimp.php on line 1260
site with plugin problem: https://maxvaluesmag.com/danny-boys-gift-card/
https://www.ads-software.com/plugins/mailchimp/
]]>https://www.ads-software.com/plugins/paid-memberships-pro/
]]>First of all… FANTASTIC PLUGIN! Thank you!
I have just updated my version of Ajax Load More and I now get a PHP Warning everytime results are loaded… I’ve tried to deactivate and re-activate this plugin and the one that is now raising the warning… which is:
Warning: stripslashes() expects parameter 1 to be string, array given in …plugins/revision-control/revision-control.php on line 134
Any help will be much appreciated.
https://www.ads-software.com/plugins/ajax-load-more/
]]>You should pay more attention on stripslashes of values
https://www.ads-software.com/plugins/leaguemanager/
]]>