Salta la navigazione

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;
    }
    

Lasciare una risposta

Ti preghiamo di rimanere in tema e di essere rispettoso nei confronti degli altri. Se hai bisogno di aiuto per questioni non correlate a questo post, utilizza il nostro Forum di supporto per avviare una chat o inviare un ticket.

Potete usare questi tag:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>