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/FrmStylesController.php +7 -10 6.256.16 View file →
@@ -95,9 +95,9 @@
95 95 *
96 96 * @return void
97 97 */
98 98 private static function disable_form_css() {
99 - add_filter( 'get_frm_stylesheet', '__return_empty_array' );
99 + add_filter( 'get_frm_stylesheet', '__return_false' );
100 100 }
101 101
102 102 /**
103 103 * Removing this action prevents front end JavaScript from loading.
@@ -123,8 +123,9 @@
123 123 FrmStyleComponent::register_assets();
124 124 self::load_pro_hooks();
125 125
126 126 $version = FrmAppHelper::plugin_version();
127 + wp_enqueue_script( 'jquery-ui-datepicker' );
127 128
128 129 if ( FrmAppHelper::is_style_editor_page( 'edit' ) ) {
129 130 wp_enqueue_style( 'wp-color-picker' );
130 131 }
@@ -539,9 +540,9 @@
539 540 $plugin_url = FrmAppHelper::plugin_url();
540 541 $version = FrmAppHelper::plugin_version();
541 542 $js_dependencies = array( 'wp-i18n', 'wp-hooks', 'formidable_dom' );
542 543
543 - if ( FrmAppHelper::pro_is_installed() && is_callable( 'FrmProAppHelper::use_jquery_datepicker' ) && FrmProAppHelper::use_jquery_datepicker() ) {
544 + if ( FrmAppHelper::pro_is_installed() ) {
544 545 $js_dependencies[] = 'jquery-ui-datepicker';
545 546 }
546 547
547 548 wp_register_script( 'formidable_style', $plugin_url . '/js/admin/style.js', $js_dependencies, $version );
@@ -1258,22 +1259,18 @@
1258 1259 if ( ! $first_open ) {
1259 1260 $first_open = true;
1260 1261 $open_class = 'open';
1261 1262 }
1262 -
1263 - $accordion_content_id = 'frm_style_section_' . $box['id'];
1264 1263 ?>
1265 1264 <li class="control-section accordion-section <?php echo esc_attr( $open_class ); ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>">
1266 - <h3 class="accordion-section-title hndle">
1265 + <h3 class="accordion-section-title hndle" tabindex="0">
1267 1266 <?php
1268 - FrmAppHelper::icon_by_class( 'frmfont ' . $icon_id . ' frm_svg24' );
1267 + FrmAppHelper::icon_by_class( 'frmfont ' . $icon_id );
1269 1268 echo esc_html( $box['title'] );
1269 + FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown8_icon' );
1270 1270 ?>
1271 - <button type="button" aria-expanded="<?php echo esc_attr( 'open' === $open_class ? 'true' : 'false' ); ?>" aria-controls="<?php echo esc_attr( $accordion_content_id ); ?>" aria-label="<?php echo esc_attr( $box['title'] ); ?>">
1272 - <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown8_icon' ); ?>
1273 - </button>
1274 1271 </h3>
1275 - <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>" id="<?php echo esc_attr( $accordion_content_id ); ?>">
1272 + <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>">
1276 1273 <div class="inside">
1277 1274 <?php call_user_func( $box['callback'], $data_object, $box ); ?>
1278 1275 </div><!-- .inside -->
1279 1276 </div><!-- .accordion-section-content -->