|
WPML & Gravity Forms Conflict – "Previous" and "Next" buttons say "Arra
Posted by Viktor Klymonchuk, Last modified by Viktor Klymonchuk on 13 December 2012 01:09 PM
|
|
|
On multi page forms, the WPML plugin is causing the Previous and Next buttons to say "Array". Locate the file wp-content/plugins/gravity-forms-multilingual/inc/gravity_forms_multilingual.class.php $form['fields'][$id]['nextButton']['text'] = icl_t('gravity_form', $form['id'] . '_field-' . $field['id'] . '-nextButton', $field['nextButton']); To: $form['fields'][$id]['nextButton']['text'] = icl_t('gravity_form', $form['id'] . '_field-' . $field['id'] . '-nextButton', $field['nextButton']['text']); Solution documented here http://wpml.org/forums/topic/wpml-gravity-forms-conflict-previous-and-next-buttons-say-array/ | |
|
|
