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

Написать ответ

Пожалуйста, оставайтесь в теме и будьте уважительны к другим. Если Вам нужна помощь по вопросам, не относящимся к этому сообщению, воспользуйтесь нашим Форумом поддержки, чтобы начать чат или отправить тикет.

Вы можете использовать эти метки:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>