From 145e8a87dcda568545c409391f707a20d325805d Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 16 Oct 2023 17:57:28 +0200 Subject: [PATCH] Try to fix Travis failure with Mercator MU plugin --- tests/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 06b12bd93..d81dc256e 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -56,6 +56,7 @@ function() { */ function xwp_manually_load_mercator() { define( 'MERCATOR_SKIP_CHECKS', true ); + defined( 'WPMU_PLUGIN_DIR' ) or define( 'WPMU_PLUGIN_DIR', WP_CONTENT_DIR . '/mu-plugins' ); require WPMU_PLUGIN_DIR . '/mercator/mercator.php'; } tests_add_filter( 'muplugins_loaded', 'xwp_manually_load_mercator' );