From d64ae630d9be81a49583f5370473be134f30d3f9 Mon Sep 17 00:00:00 2001 From: David Stone Date: Wed, 11 Dec 2024 01:02:08 -0700 Subject: [PATCH] Micro optimizations --- wp-multisite-waas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-multisite-waas.php b/wp-multisite-waas.php index 34cc497..d418c1b 100644 --- a/wp-multisite-waas.php +++ b/wp-multisite-waas.php @@ -55,7 +55,7 @@ if ( is_plugin_active( 'wp-ultimo/wp-ultimo.php' ) ) { 'additional_classes' => array( 'updated' ), 'dismissible' => true, ) ); - if ( defined('SUNRISE') && SUNRISE && file_exists(WP_CONTENT_DIR . '/sunrise.php')) { + if ( file_exists(WP_CONTENT_DIR . '/sunrise.php')) { $possible_sunrises = array( WP_PLUGIN_DIR . '/wp-multisite-waas/sunrise.php', WPMU_PLUGIN_DIR . '/wp-multisite-waas/sunrise.php',