PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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/views/styles/manage.php +3 -1 6.25.1 → trunk View file →
@@ -50,14 +50,16 @@
50 50 * @param stdClass $form
51 51 * @param array<WP_Post> $styles
52 52 * @param WP_Post $default_style
53 53 * @param string $row_view_file_path
54 + *
54 55 * @return void
55 56 */
56 57 function ( $form ) use ( $styles, $default_style, $row_view_file_path ) {
57 58 $active_style_id = isset( $form->options['custom_style'] ) ? (int) $form->options['custom_style'] : 1;
59 +
58 60 if ( 1 === $active_style_id ) {
59 - // use the default style
61 + // Use the default style
60 62 $active_style_id = $default_style->ID;
61 63 }
62 64
63 65 include $row_view_file_path;