PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16
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/controllers/FrmSimpleBlocksController.php +0 -8 6.256.16 View file →
@@ -199,17 +199,9 @@
199 199 $params = array_filter( $attributes );
200 200 $params['id'] = $params['formId'];
201 201 unset( $params['formId'] );
202 202
203 - // Still pass false for title and description options if nothing is set,
204 - // so a default doesn't overwrite the block option.
205 - $params['title'] = ! empty( $params['title'] );
206 - $params['description'] = ! empty( $params['description'] );
207 -
208 203 $form .= FrmFormsController::get_form_shortcode( $params );
209 - if ( ! empty( $attributes['className'] ) ) {
210 - $form = preg_replace( '/\bfrm_forms\b/', 'frm_forms ' . esc_attr( $attributes['className'] ), $form, 1 );
211 - }
212 204 return self::maybe_remove_fade_on_load_for_block_preview( $form );
213 205 }
214 206
215 207 /**