PluginProbe
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization / trunk
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization vtrunk
4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 2.5.5 2.5.6 2.5.7 3.0.0 3.0.1 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.11.0 3.11.1 3.11.2 3.11.3 3.12.0 All 135 releases
← All changes | inc/compatibilities/master_slider.php +4 -4 2.5.7 → trunk View file →
@@ -2,9 +2,10 @@
2 2
3 3 /**
4 4 * Class Optml_master_slider.
5 5 *
6 - * @reason Added classes to watch for background lazyload
6 + * @reason Added classes to watch for background lazyload,
7 + * we can only hook the css before storing in db ('masterslider_get_all_custom_css'), but we can not reliably regenerate it when settings are changing
7 8 */
8 9 class Optml_master_slider extends Optml_compatibility {
9 10
10 11
@@ -13,10 +14,10 @@
13 14 * Should we load the integration logic.
14 15 *
15 16 * @return bool Should we load.
16 17 */
17 - function should_load() {
18 - include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
18 + public function should_load() {
19 + include_once ABSPATH . 'wp-admin/includes/plugin.php';
19 20
20 21 return is_plugin_active( 'master-slider/master-slider.php' );
21 22 }
22 23
@@ -41,7 +42,6 @@
41 42 },
42 43 10,
43 44 2
44 45 );
45 -
46 46 }
47 47 }