HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory/wp/wp-content/plugins/whatsapp-for-wordpress-/includes/Fallback.php
<?php

defined( 'ABSPATH' ) || exit;
add_action(
	'admin_notices',
	function () {
		if ( current_user_can( 'activate_plugins' ) ) {
			?>
<div class="notice notice-error is-dismissible">
	<p>
		<strong><?php esc_html_e( 'It looks like you have another WhatsApp version installed, please delete it before activating this new version. All of the settings and data are still preserved.', 'ninjateam-whatsapp' ); ?>
			<a
				href="https://ninjateam.gitbook.io/whatsapp-for-wordpress/getting-started/how-to-update"><?php esc_html_e( 'Read more details.', 'ninjateam-whatsapp' ); ?></a>
		</strong>
	</p>
</div>
			<?php
			if ( isset( $_GET['activate'] ) ) {
				unset( $_GET['activate'] );
			}
		}
	}
);