PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.23
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.23
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 +2 -2 6.256.23 View file →
@@ -434,9 +434,9 @@
434 434
435 435 foreach ( $settings as $number => $new_instance ) {
436 436 $this->_set( $number );
437 437
438 - $old_instance = $all_instances[ $number ] ?? array();
438 + $old_instance = isset( $all_instances[ $number ] ) ? $all_instances[ $number ] : array();
439 439
440 440 if ( ! isset( $new_instance['post_status'] ) ) {
441 441 $new_instance['post_status'] = 'draft';
442 442 }
@@ -451,9 +451,9 @@
451 451
452 452 $new_instance['post_type'] = FrmFormActionsController::$action_post_type;
453 453 $new_instance['post_name'] = $this->form_id . '_' . $this->id_base . '_' . $this->number;
454 454 $new_instance['menu_order'] = $this->form_id;
455 - $new_instance['post_date'] = $old_instance->post_date ?? '';
455 + $new_instance['post_date'] = isset( $old_instance->post_date ) ? $old_instance->post_date : '';
456 456 $instance = $this->update( $new_instance, $old_instance );
457 457
458 458 /**
459 459 * Filter an action's settings before saving.