HEX
Server: Apache
System: Linux distracted-cartwright 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: hvmbertogarza.com_s2ctmc9wn9 (10011)
PHP: 8.3.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/hvmbertogarza.com/httpdocs/wp-content/plugins/wp-whatsapp/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.', 'wp-whatsapp' ); ?>
			<a
				href="https://ninjateam.gitbook.io/whatsapp-for-wordpress/getting-started/how-to-update"><?php esc_html_e( 'Read more details.', 'wp-whatsapp' ); ?></a>
		</strong>
	</p>
</div>
			<?php
			// phpcs:ignore WordPress.Security.NonceVerification.Recommended
			if ( isset( $_GET['activate'] ) ) {
				unset( $_GET['activate'] );
			}
		}
	}
);