HEX
Server: Apache
System: Linux beta.alfanet.ee 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: busines1 (1252)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/imagify/views/notice-plugins-to-deactivate.php
<?php
use Imagify\Notices\Notices;

defined( 'ABSPATH' ) || exit;

$this->print_template(
	'notice-header',
	[
		'classes' => [ 'error' ],
	]
);
?>
<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>

<ul class="imagify-plugins-error">
<?php
foreach ( $data as $plugin_name ) {
	$plugin_data    = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $plugin_name );
	$deactivate_url = esc_url( wp_nonce_url( admin_url( 'admin-post.php?action=imagify_deactivate_plugin&plugin=' . rawurlencode( $plugin_name ) ), Notices::DEACTIVATE_PLUGIN_NONCE_ACTION ) );
	echo '<li>' . $plugin_data['Name'] . '</span> <a href="' . $deactivate_url . '" class="button button-mini alignright">' . __( 'Deactivate', 'imagify' ) . '</a></li>';
}
?>
</ul>
<?php
$this->print_template( 'notice-footer' );