تخطي الملاحة

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>