PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / 1.7.7
Image Optimizer – Compress Images and Convert to WebP or AVIF v1.7.7
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | modules/core/components/conflicts.php +7 -7 1.0.11.7.7 View file →
@@ -1,7 +1,7 @@
1 1 <?php
2 2
3 -namespace ImageOptimizer\Modules\Core\Components;
3 +namespace ImageOptimization\Modules\Core\Components;
4 4
5 5 if ( ! defined( 'ABSPATH' ) ) {
6 6 exit; // Exit if accessed directly.
7 7 }
@@ -24,14 +24,14 @@
24 24 public function render_notice(): void {
25 25 $conflicting_plugins_names = $this->conflicting_plugins;
26 26
27 27 ?>
28 - <div class="notice notice-warning">
28 + <div class="notice notice-warning image-optimizer__notice image-optimizer__notice--warning">
29 29 <p>
30 30 <b>
31 31 <?php esc_html_e(
32 - 'Image optimizer has detected multiple active image optimization plugins.',
33 - 'image-optimizer'
32 + 'Image Optimization has detected multiple active image optimization plugins.',
33 + 'image-optimization'
34 34 ); ?>
35 35 </b>
36 36
37 37 <span>
@@ -36,15 +36,15 @@
36 36
37 37 <span>
38 38 <?php esc_html_e(
39 39 'Having more than one may result in unexpected results.',
40 - 'image-optimizer'
40 + 'image-optimization'
41 41 ); ?>
42 42 </span>
43 43 </p>
44 44
45 45 <form action="<?php echo esc_url( admin_url( 'plugins.php' ) ); ?>" method="post" style="margin:0.5em 0;padding:2px">
46 - <span style="margin-right: 8px;"><?php echo esc_html( join( ', ', $conflicting_plugins_names ) ); ?></span>
46 + <span style="margin-inline-end: 8px;"><?php echo esc_html( join( ', ', $conflicting_plugins_names ) ); ?></span>
47 47
48 48 <input type="hidden" name="action" value="deactivate-selected">
49 49
50 50 <?php foreach ( array_keys( $this->conflicting_plugins ) as $plugin ) { ?>
@@ -54,9 +54,9 @@
54 54 <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'bulk-plugins' ) ); ?>">
55 55
56 56 <input type="submit"
57 57 style="border:none;background-color:transparent;text-decoration:underline;cursor:pointer;font-size:13px;color:#135e96;"
58 - value="<?php esc_html_e( 'Deactivate All', 'image-optimizer' ); ?>">
58 + value="<?php esc_html_e( 'Deactivate All', 'image-optimization' ); ?>">
59 59 </form>
60 60 </div>
61 61 <?php
62 62 }