PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.2.3
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.2.3
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmOnSubmitAction.php +0 -21 6.5.16.2.3 View file →
@@ -51,30 +51,9 @@
51 51 'success_msg' => FrmOnSubmitHelper::get_default_msg(),
52 52 'show_form' => '',
53 53 'success_url' => '',
54 54 'success_page_id' => '',
55 - 'open_in_new_tab' => '',
56 55 );
57 - }
58 -
59 - /**
60 - * This function should check that $new_instance is set correctly.
61 - * The newly calculated value of $instance should be returned.
62 - * If "false" is returned, the instance won't be saved/updated.
63 - *
64 - * @param array $new_instance New settings for this instance as input by the user via form()
65 - * @param array $old_instance Old settings for this instance
66 - *
67 - * @return array Settings to save or bool false to cancel saving
68 - */
69 - public function update( $new_instance, $old_instance ) {
70 - if ( 'redirect' === $new_instance['post_content']['success_action'] && ! empty( $new_instance['post_content']['success_url'] ) ) {
71 - $new_instance['post_content']['success_url'] = FrmFormsHelper::maybe_add_sanitize_url_attr(
72 - $new_instance['post_content']['success_url'],
73 - (int) $new_instance['menu_order']
74 - );
75 - }
76 - return $new_instance;
77 56 }
78 57
79 58 /**
80 59 * Add a workaround in case Pro hasn't been updated. We don't want to