Pular a navegação

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

Deixar uma Resposta

Por favor, mantenha-se no tópico e respeite os outros. Se você precisar de ajuda com problemas não relacionados a esta postagem, use nosso Fórum de suporte para iniciar um bate-papo ou enviar um tíquete.

Você pode usar estas tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>