PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / 1.10
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF v1.10
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
imagify / views / notice-plugins-to-deactivate.php

notice-plugins-to-deactivate.php in Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF 1.10, at views/notice-plugins-to-deactivate.php

21 lines 963 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
3
4 $this->print_template( 'notice-header', array(
5 'classes' => array( 'error' ),
6 ) );
7 ?>
8 <p><?php echo _n( 'The following plugin is not compatible with this plugin and may cause unexpected results:', 'The following plugins are not compatible with this plugin and may cause unexpected results:', count( $data ), 'imagify' ); ?></p>
9
10 <ul class="imagify-plugins-error">
11 <?php
12 foreach ( $data as $plugin ) {
13 $plugin_data = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin );
14 $deactivate_url = esc_url( wp_nonce_url( admin_url( 'admin-post.php?action=imagify_deactivate_plugin&plugin=' . rawurlencode( $plugin ) ), Imagify_Notices::DEACTIVATE_PLUGIN_NONCE_ACTION ) );
15 echo '<li>' . $plugin_data['Name'] . '</span> <a href="' . $deactivate_url . '" class="button button-mini alignright">' . __( 'Deactivate', 'imagify' ) . '</a></li>';
16 }
17 ?>
18 </ul>
19 <?php
20 $this->print_template( 'notice-footer' );
21