Skip to content

Commit

Permalink
Try to fix Travis failure with Mercator MU plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Oct 16, 2023
1 parent 0d03cd4 commit 145e8a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
Expand Down

0 comments on commit 145e8a8

Please sign in to comment.