diff --git a/composer.json b/composer.json index 9b72f1b9..139ce799 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ "require": { "boxuk/dictator": "^0.8", "boxuk/wp-hook-attributes": "^0.0.1", - "boxuk/wp-muplugin-loader": "^1.2", + "boxuk/wp-muplugin-loader": "^2.0", "cache/memcache-adapter": "^1.2", "inpsyde/wonolog": "^1.0", "inpsyde/wp-translation-downloader": "^2.0", @@ -126,6 +126,10 @@ "@composer install --working-dir=tools/monorepo-builder", "@composer install --working-dir=tools/php_codesniffer" ], + "update-tools": [ + "@composer update --working-dir=tools/monorepo-builder", + "@composer update --working-dir=tools/php_codesniffer" + ], "phpcs": [ "tools/php_codesniffer/vendor/bin/phpcs" ] diff --git a/wp-content/mu-plugins/zzz-mu-require.php b/wp-content/mu-plugins/zzz-mu-require.php index 698ba798..8f0a77a3 100644 --- a/wp-content/mu-plugins/zzz-mu-require.php +++ b/wp-content/mu-plugins/zzz-mu-require.php @@ -3,10 +3,10 @@ * Plugin Name: MU Plugin Loader * Plugin URI: https://github.com/boxuk/wp-muplugin-loader * Description: MU Plugin Loader - Autoload your mu-plugin directories. - * Version: 1.1.0 + * Version: 2.0.0 * Author: Box UK / Luke Woodward * Author URI: https://github.com/boxuk/wp-muplugin-loader * * @since 1.1.0 */ -require_once __DIR__ . '/../vendor/boxuk/wp-muplugin-loader/src/lkwdwrd/mu-loader.php'; +require_once __DIR__ . '/../vendor/boxuk/wp-muplugin-loader/src/mu-loader.php';