I’m not posting a specific issue with ACF, because it works awesome. But I’m running into an issue that I thought the community might have some ideas on.
I have two identical sites with different branding. Both using the exact same plugins and same custom theme (by me). The only difference is the site branding. In my custom theme I utilize and Options page with Custom Fields for various items.
What I’m having a problem with is, on one of these sites (the only site that does this BTW) is when I enter a ‘ or ” in any of the fields (URL, text, WYSIWYG) when I hit update an escape backslash is added before these, so it becomes \”. The other sites doesn’t do this at all.
Seems like something is filtering the field content when I update to escape any single and double quotes. I’ve tried disabling all plugins with no change, and I’m using ACF Pro 5.7.11. It only happens on this one site, and only in the options page. Custom fields on pages/posts don’t have this behavior.
Before I go nuts (too late), thought I would reach out to the community for any ideas.
Thanks for any help.
I believe that this has been corrected, but I am not sure. Can you try these steps posted by Elliot, if they do not work please submit a bug report here https://www.advancedcustomfields.com/contact/
Can you please re-download the ACF PRO plugin files and test the issue?
An easy way to re-download is to edit the main acf.php plugin file and change the version number ‘5.7.11’ down to ‘5.7.10’
– please note the version number appears twice in this file and both will need to be changed
– after this change is made, please update the plugin as per normal and it will update to 5.7.11 (including the new fix)
Yes, this issues was corrected, I just found this one https://support.advancedcustomfields.com/forums/topic/textarea-escaping-on-each-save/
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.