Micro optimizations

This commit is contained in:
David Stone
2024-12-11 01:02:08 -07:00
parent b7d4a27fc2
commit d64ae630d9

View File

@ -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',