HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/admin-menu-editor/includes/version-conflict-check.php
<?php
//It's not possible to have two versions of this plugin active at the same time. Abort plugin load
//and display an error if we detect that another version has already been loaded.
if ( class_exists('WPMenuEditor') ) {

	function ws_ame_activation_conflict() {
		if ( !current_user_can('activate_plugins') ) {
			return; //The current user can't do anything about the problem.
		}
		?>
		<div class="error fade">
			<p>
				<strong>Error: Another version of Admin Menu Editor is already active.</strong><br>
				Please deactivate the older version. It is not possible to run two different versions
				of this plugin at the same time.
			</p>
		</div>
	<?php
	}

	add_action('admin_notices', 'ws_ame_activation_conflict');
	return true; //Conflict detected.
}

return false; //No conflict.