Skip to content

Commit

Permalink
Disable validation and automatic filling out.
Browse files Browse the repository at this point in the history
The Jetpack contact form fails to submit when there's a query string present.The Jetpack contact form's source code has been traced and no usable hooks found. Although the query string can be removed via JavaScript, the form still can't be submitted successfully. Therefore, it's temporarily disabled.
  • Loading branch information
renintw committed Sep 25, 2023
1 parent 004fa0e commit 5a0c15e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
* Actions & hooks
*/
add_action( 'plugins_loaded', __NAMESPACE__ . '\load' );
add_action( 'template_redirect', __NAMESPACE__ . '\validate_token_on_debrief_survey' );
add_filter( 'the_content', __NAMESPACE__ . '\modify_jetpack_contact_form' );
// add_action( 'template_redirect', __NAMESPACE__ . '\validate_token_on_debrief_survey' );
// add_filter( 'the_content', __NAMESPACE__ . '\modify_jetpack_contact_form' );.

/**
* Get the ID of the survey feature.
Expand Down

0 comments on commit 5a0c15e

Please sign in to comment.