PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 4.1.16
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v4.1.16
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
← All changes | admin/tabs/css-javascript.php +8 -5 4.0.264.1.16 View file →
@@ -20,10 +20,10 @@
20 20
21 21 ?>
22 22 <div id="css-javascript" <?php bwp_is_tab('css-javascript'); ?>>
23 23 <h2 class="berq-tab-title"><?php esc_html_e('CSS & JavaScript', 'searchpro'); ?></h2>
24 - <?php if (!$berqwp_can_use_cloud): ?>
25 - <div class="berq-info-box berq-setting-group">
24 +
25 + <div class="berq-info-box berq-setting-group" style="<?php echo $berqwp_can_use_cloud ? 'display:none!important;' : '' ?>" >
26 26 <div class="group-container">
27 27 <h3 class="berq-box-title">
28 28 <?php esc_html_e('Used CSS', 'searchpro'); ?>
29 29 </h3>
@@ -47,10 +47,10 @@
47 47 <textarea name="berqwp_force_include_critical_css" cols="30" rows="10"><?php echo esc_textarea($include_critical_css_lines); ?></textarea>
48 48 </div>
49 49 </div>
50 50 </div>
51 - <?php else: ?>
52 - <div class="berq-info-box berq-setting-group">
51 +
52 + <div class="berq-info-box berq-setting-group" style="<?php echo !$berqwp_can_use_cloud ? 'display:none!important;' : '' ?>">
53 53 <div class="group-container">
54 54 <h3 class="berq-box-title">
55 55 <?php esc_html_e('Generate Critical CSS', 'searchpro'); ?>
56 56 </h3>
@@ -74,9 +74,8 @@
74 74 <textarea name="berqwp_force_include_critical_css" cols="30" rows="10"><?php echo esc_textarea($include_critical_css_lines); ?></textarea>
75 75 </div>
76 76 </div>
77 77 </div>
78 - <?php endif; ?>
79 78
80 79 <div class="berq-info-box berq-setting-group">
81 80 <div class="group-container">
82 81 <h3 class="berq-box-title <?php echo !$berqwp_can_use_cloud ? 'cloud-exclusive' : ''; ?>">
@@ -174,8 +173,12 @@
174 173 <div class="berq-box-content">
175 174 <p>
176 175 <?php printf( /* translators: %s: Plugin name */ esc_html__('%s offers different JavaScript optimization modes, so every JavaScript-heavy website can unlock its true potential.', 'searchpro'), esc_html($plugin_name) ); ?>
177 176 </p>
177 + <label class="berq-check">
178 + <input type="radio" name="berqwp_javascript_execution_mode" value="5" <?php echo get_option('berqwp_javascript_execution_mode') == 5 ? 'checked' : ''; ?>>
179 + <?php esc_html_e('Flora v2 - High Compatibility', 'searchpro'); ?>
180 + </label>
178 181 <label class="berq-check">
179 182 <input type="radio" name="berqwp_javascript_execution_mode" value="4" <?php echo get_option('berqwp_javascript_execution_mode') == 4 ? 'checked' : ''; ?>>
180 183 <?php esc_html_e('Flora - High Compatibility (Default)', 'searchpro'); ?>
181 184 </label>