Fix Fatal

This commit is contained in:
David Stone
2024-11-30 20:28:41 -07:00
parent e8f7955c1c
commit f0c7419ad0

View File

@ -43,7 +43,7 @@ if (!defined('WP_ULTIMO_PLUGIN_FILE')) {
// Check if old name is installed and we should upgrade.
if ( is_plugin_active( 'wp-ultimo/wp-ultimo.php' ) ) {
if ( function_exists('is_plugin_active') && is_plugin_active( 'wp-ultimo/wp-ultimo.php' ) ) {
deactivate_plugins( 'wp-ultimo/wp-ultimo.php', true, true);
add_action(
'admin_notices',