PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7
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/FrmFormAction.php +3 -2 6.46.7 View file →
@@ -34,9 +34,10 @@
34 34
35 35 /**
36 36 * Echo the settings update form
37 37 *
38 - * @param array $instance Current settings
38 + * @param WP_Post $instance Current settings
39 + * @param array $args
39 40 */
40 41 public function form( $instance, $args = array() ) {
41 42 echo '<p class="no-options-widget">' . esc_html__( 'There are no options for this action.', 'formidable' ) . '</p>';
42 43
@@ -648,9 +649,9 @@
648 649 $action->post_content += $default_values;
649 650
650 651 foreach ( $default_values as $k => $vals ) {
651 652 if ( is_array( $vals ) && ! empty( $vals ) ) {
652 - if ( 'event' == $k && ! $this->action_options['force_event'] && ! empty( $action->post_content[ $k ] ) ) {
653 + if ( 'event' === $k && ! $this->action_options['force_event'] && ! empty( $action->post_content[ $k ] ) ) {
653 654 continue;
654 655 }
655 656 $action->post_content[ $k ] = wp_parse_args( $action->post_content[ $k ], $vals );
656 657 }