Sauter la navigation

Open

Reported for: Gravity Forms Multilingual 1.8.2

Topic Tags: Compatibility

Overview of the issue

The gform_review_page filter, which enables a review page for Gravity Forms submissions, no longer functions as expected when using Gravity Forms Multilingual 1.8.2. Instead of displaying the review form button, the form defaults to displaying the submit button directly.

This issue does not occur in GFML 1.7.2, where the review form button works as expected.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open the …/wp-content/plugins/gravityforms-multilingual/inc/gravity-forms-multilingual.class.php file.
  • Look for line 954.
  • Replace:
    $this->current_forms[ $form['id'] ][ $current_lang ] = $form;
    
  • With:
    // WPML Workaround for compsupp-7755
    if ( isset( $this->current_forms[ $form['id'] ] ) ) {
    	$this->current_forms[ $form['id'] ][ $current_lang ] = $form;
    }
    

Laisser une réponse

Veuillez rester dans le sujet et respecter les autres. Si vous avez besoin d'aide pour des questions qui ne sont pas liées à ce message, utilisez notre Forum d'assistance pour entamer une discussion ou soumettre un ticket.

Vous pouvez utiliser ces balises :
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>