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/conflicts/w3_total_cache_cdn.php +4 -3 2.5.7 → trunk View file →
@@ -4,9 +4,9 @@
4 4 * Class Optml_w3_total_cache_cdn
5 5 *
6 6 * External css/js needs to be added to a list in order to be processed by w3 total cache.
7 7 */
8 -class Optml_w3_total_cache_cdn extends Optml_abstract_conflict {
8 +class Optml_w3_total_cache_cdn extends Optml_Abstract_Conflict {
9 9
10 10 /**
11 11 * Optml_Jetpack_Lazyload constructor.
12 12 */
@@ -21,9 +21,11 @@
21 21 * @since 2.0.6
22 22 * @access public
23 23 */
24 24 public function define_message() {
25 - $this->message = sprintf( __( 'It seems your are using W3 Total Cache. %1$s If you are using the css or javascript minify/combine option from %2$sW3 Total Cache -> Perfomance -> Minify page.%3$s %1$s Add this line: %4$s to Include external files/libraries and check Use regular expressions for file matching checkbox. ', 'optimole-wp' ), '<br/>', '<a target="_blank" href="' . admin_url( 'admin.php?page=w3tc_minify' ) . '">', '</a>', 'https://' . Optml_Main::instance()->admin->settings->get_cdn_url() . '/*' );
25 +
26 + /* translators: 1 is new line tag, 2 is the starting anchor tag, 3 is the ending anchor tag and 4 is the domain name of Optimole */
27 + $this->message = sprintf( __( 'It seems your are using W3 Total Cache. %1$s If you are using the CSS or JavaScript minify/combine option from %2$sW3 Total Cache -> Performance -> Minify page %3$s %1$s add this line: %4$s to Include external files/libraries and check Use regular expressions for file matching checkbox.', 'optimole-wp' ), '<br/>', '<a target="_blank" href="' . admin_url( 'admin.php?page=w3tc_minify' ) . '">', '</a>', 'https://' . Optml_Main::instance()->admin->settings->get_cdn_url() . '/*' );
26 28 }
27 29
28 30 /**
29 31 * Determine if conflict is applicable.
@@ -35,5 +37,4 @@
35 37 public function is_conflict_valid() {
36 38 return Optml_Main::instance()->admin->settings->get( 'cdn' ) === 'enabled' && is_plugin_active( 'w3-total-cache/w3-total-cache.php' );
37 39 }
38 40 }
39 -