Giter Site home page Giter Site logo

Comments (8)

macra avatar macra commented on June 21, 2024

Rolled back contact form 7 to Version 5.4.2 which seems to have resolved the issue. Looking at the changelog, I suspect the KSES changes in 5.5 are the culprit. Love this plugin, hopefully you're active enough to resolve this soon.

from cf7-to-api.

fixinggenie avatar fixinggenie commented on June 21, 2024

@macra Found it - https://github.com/takayukister/contact-form-7/blob/7684edc91e5b01b280c770179385c80f5376cbeb/includes/contact-form-functions.php#L226

It might be easier if we just decode and encode the string in the plugin rather than fight with the permissions.
https://developer.wordpress.org/reference/functions/wp_specialchars_decode/

from cf7-to-api.

studiovanzwet avatar studiovanzwet commented on June 21, 2024

@fixinggenie @macra
I'm having the same problem, is there a solution to this issue?

from cf7-to-api.

sstraus avatar sstraus commented on June 21, 2024

Any fix for this problem?

from cf7-to-api.

studiovanzwet avatar studiovanzwet commented on June 21, 2024

Any fix for this problem?

Downgrading Contact form 7 to V 5.4.2 solved it for now.

Maybe it has something to do with the code in contact-form-7/includes/contact-form-functions.php from line 226. In the picture the right side is V 5.4.2, left V 5.5.2

Schermafbeelding 2021-11-24 om 13 35 25

Whould also like to hear about a fix.

from cf7-to-api.

fixinggenie avatar fixinggenie commented on June 21, 2024

Any fix for this problem?

Downgrading Contact form 7 to V 5.4.2 solved it for now.

Maybe it has something to do with the code in contact-form-7/includes/contact-form-functions.php from line 226. In the picture the right side is V 5.4.2, left V 5.5.2

Schermafbeelding 2021-11-24 om 13 35 25

Whould also like to hear about a fix.

I also downgraded.

I don't know why it isn't seeing the user permissions for unfiltered_html. I checked and my user definitely has it.

from cf7-to-api.

sstraus avatar sstraus commented on June 21, 2024

I need more tests, but I've fixed adding stripslashes before processing "json_template".

$properties['json_template'] = isset( $_POST["json_template"] ) ? $_POST["json_template"] : '';

and

$qs_cf7_data_template = stripslashes($qs_cf7_data_json_template);

from cf7-to-api.

kennym avatar kennym commented on June 21, 2024

Open a PR, or fork this project, and stop sending me emails. I've created this on a weekend; and now I don't have time to maintain this anymore. Thanks for understanding

from cf7-to-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.