PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.19
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.19
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/custom_css.php +9 -3 6.276.19 View file →
@@ -4,14 +4,20 @@
4 4 }
5 5 ?>
6 6 <div id="template">
7 7 <p class="howto">
8 - <?php echo esc_html( $heading ); ?>
8 + <?php esc_html_e( 'You can add custom css here or in your theme style.css. Any CSS added here will be used anywhere the Formidable CSS is loaded.', 'formidable' ); ?>
9 9 </p>
10 10
11 11 <?php
12 - if ( true === $show_errors ) {
13 - require FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
12 + require FrmAppHelper::plugin_path() . '/classes/views/shared/errors.php';
13 +
14 + $textarea_params = array(
15 + 'name' => 'frm_custom_css',
16 + 'id' => $id,
17 + );
18 + if ( ! empty( $settings ) ) {
19 + $textarea_params['class'] = 'hide-if-js';
14 20 }
15 21 ?>
16 22 <textarea <?php FrmAppHelper::array_to_html_params( $textarea_params, true ); ?>><?php echo FrmAppHelper::esc_textarea( $custom_css ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea>
17 23 </div>