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

Changes " with \" #51

Open
TonyTakeOff opened this issue Jan 11, 2022 · 4 comments
Open

Changes " with \" #51

TonyTakeOff opened this issue Jan 11, 2022 · 4 comments

Comments

@TonyTakeOff
Copy link

Hi,
I'm trying 1.4.11
in API integration, using JSON, when I save, editor changes every " with ".
API call fails.

@AroraAsh
Copy link

AroraAsh commented Feb 1, 2022

#47 Check this closed issue.

@davITnemec
Copy link

@AroraAsh and @TonyTakeOff I have the same issue and unfortunately, #47 doesn't offer a working solution. I've tried to add to class-cf7-api-admin.php stripslashes before JSON and XML has proceeded but the issue still persists.

Maybe @mariovalney would knows? He did the last fix for showing proper settings which works perfectly (thank you man!), but when the XML is saved, the "" are added automatically. :-(

image

@davITnemec
Copy link

Ha, this helped me. Can you try it on your site @TonyTakeOff, please?
image

@mariovalney
Copy link
Contributor

mariovalney commented Feb 1, 2022

Hi @davITnemec !

In WP I use wp_unslash().

For example.

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

4 participants