Skip to content

Releases: boxuk/wp-muplugin-loader

2.2.0

03 Aug 15:29
1d3029d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.2.0

Filtering the mu plugins loaded

You may wish to filer the mu plugins loaded by the mu plugin loader. WordPress does not provide any hook that is early enough
to ensure that this filter is registered before the plugins are loaded, so filtering of this list should be applied immediately before the mu-loader is initialised. You can modify the mu-require.php file like the below, or create a new file that's alphabetically before mu-require.php file in your mu-plugins directory.

add_filter(
    'lkwdwrd_mupluginloader_get_muplugins',
    function ( array $plugins ):  array {
        unset( $plugins['example/plugin.php'] );
        return $plugins;
    }
);

// Load the mu loader
require_once 'vendor/boxuk/wp-muplugin-loader/src/mu-loader.php';

2.1.0

19 May 09:10
e345a7d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.0...2.1.0

2.0.0

02 Mar 10:32
b3b5833
Compare
Choose a tag to compare

Why major bump?

Although the changes are all fairly minor, the one big thing that changes is the location of the loader. 1.x is within vendor/boxuk/wp-muplugin-loader/src/lkwdwrd/mu-loader.php and 2.x will be within vendor/boxuk/wp-muplugin-loader/src/mu-loader.php.

The updated mu-require.php file should happen automatically and thus cause no issues for the end user, however it's possible some implementations are expecting to the loader to be in that original location and thus a bump to a new major probably makes sense.

What's Changed

  • Refactoring of various things, mostly names and locations. by @jenkoian in #21
  • Makes the mu-plugin src directory configurable by @andrewjt71 in #22
  • [DEPS]: Bump phpunit/phpunit from 9.5.8 to 9.5.9 by @dependabot in #25
  • [DEPS]: Bump composer/composer from 2.1.6 to 2.1.7 by @dependabot in #26
  • [DEPS]: Bump mockery/mockery from 1.4.3 to 1.4.4 by @dependabot in #27
  • [DEPS]: Bump composer/composer from 2.1.7 to 2.1.8 by @dependabot in #28
  • [DEPS]: Bump phpunit/phpunit from 9.5.9 to 9.5.10 by @dependabot in #29
  • [DEPS]: Bump composer/composer from 2.1.8 to 2.1.9 by @dependabot in #30
  • [DEPS]: Bump composer/composer from 2.1.9 to 2.1.10 by @dependabot in #31
  • [DEPS]: Bump composer/composer from 2.1.10 to 2.1.11 by @dependabot in #32
  • [DEPS]: Bump composer/composer from 2.1.11 to 2.1.12 by @dependabot in #33
  • [DEPS]: Bump composer/composer from 2.1.12 to 2.1.14 by @dependabot in #34
  • [FEATURE] Fire action on completion of mu_loader by @andrewjt71 in #35
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #40
  • [DEPS]: Bump composer/composer from 2.1.14 to 2.2.3 by @dependabot in #42
  • Some minor refactoring and updating of deps. by @jenkoian in #39
  • [DEPS]: Bump composer/composer from 2.2.1 to 2.2.3 by @dependabot in #44
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #43
  • [DEPS]: Bump composer/composer from 2.2.3 to 2.2.4 by @dependabot in #45
  • [REFACTOR] Very minor tidying. by @jenkoian in #46
  • [SETUP] Set composer branch alias to 2.0.x-dev. by @jenkoian in #47
  • [DEPS]: Bump mockery/mockery from 1.4.4 to 1.5.0 by @dependabot in #48
  • [DEPS]: Bump phpunit/phpunit from 9.5.11 to 9.5.12 by @dependabot in #49
  • [DEPS]: Bump composer/composer from 2.2.4 to 2.2.5 by @dependabot in #50
  • [DEPS]: Bump phpunit/phpunit from 9.5.12 to 9.5.13 by @dependabot in #51
  • [DEPS]: Bump composer/composer from 2.2.5 to 2.2.6 by @dependabot in #52
  • [DEPS]: Bump phpunit/phpunit from 9.5.13 to 9.5.14 by @dependabot in #53
  • [DEPS]: Bump phpunit/phpunit from 9.5.14 to 9.5.15 by @dependabot in #54
  • [DEPS]: Bump phpunit/phpunit from 9.5.15 to 9.5.16 by @dependabot in #55
  • [DEPS]: Bump composer/composer from 2.2.6 to 2.2.7 by @dependabot in #56
  • [SETUP] Build against PHP8.1 by @jenkoian in #57

Full Changelog: 1.6.1...2.0.0

2.0.0-beta

23 Feb 16:00
b36e7ff
Compare
Choose a tag to compare
2.0.0-beta Pre-release
Pre-release

What's Changed

  • Refactoring of various things, mostly names and locations. by @jenkoian in #21
  • Makes the mu-plugin src directory configurable by @andrewjt71 in #22
  • [DEPS]: Bump phpunit/phpunit from 9.5.8 to 9.5.9 by @dependabot in #25
  • [DEPS]: Bump composer/composer from 2.1.6 to 2.1.7 by @dependabot in #26
  • [DEPS]: Bump mockery/mockery from 1.4.3 to 1.4.4 by @dependabot in #27
  • [DEPS]: Bump composer/composer from 2.1.7 to 2.1.8 by @dependabot in #28
  • [DEPS]: Bump phpunit/phpunit from 9.5.9 to 9.5.10 by @dependabot in #29
  • [DEPS]: Bump composer/composer from 2.1.8 to 2.1.9 by @dependabot in #30
  • [DEPS]: Bump composer/composer from 2.1.9 to 2.1.10 by @dependabot in #31
  • [DEPS]: Bump composer/composer from 2.1.10 to 2.1.11 by @dependabot in #32
  • [DEPS]: Bump composer/composer from 2.1.11 to 2.1.12 by @dependabot in #33
  • [DEPS]: Bump composer/composer from 2.1.12 to 2.1.14 by @dependabot in #34
  • [FEATURE] Fire action on completion of mu_loader by @andrewjt71 in #35
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #40
  • [DEPS]: Bump composer/composer from 2.1.14 to 2.2.3 by @dependabot in #42
  • Some minor refactoring and updating of deps. by @jenkoian in #39
  • [DEPS]: Bump composer/composer from 2.2.1 to 2.2.3 by @dependabot in #44
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #43
  • [DEPS]: Bump composer/composer from 2.2.3 to 2.2.4 by @dependabot in #45
  • [REFACTOR] Very minor tidying. by @jenkoian in #46
  • [SETUP] Set composer branch alias to 2.0.x-dev. by @jenkoian in #47
  • [DEPS]: Bump mockery/mockery from 1.4.4 to 1.5.0 by @dependabot in #48
  • [DEPS]: Bump phpunit/phpunit from 9.5.11 to 9.5.12 by @dependabot in #49
  • [DEPS]: Bump composer/composer from 2.2.4 to 2.2.5 by @dependabot in #50
  • [DEPS]: Bump phpunit/phpunit from 9.5.12 to 9.5.13 by @dependabot in #51
  • [DEPS]: Bump composer/composer from 2.2.5 to 2.2.6 by @dependabot in #52
  • [DEPS]: Bump phpunit/phpunit from 9.5.13 to 9.5.14 by @dependabot in #53
  • [DEPS]: Bump phpunit/phpunit from 9.5.14 to 9.5.15 by @dependabot in #54

Full Changelog: 1.5.1...2.0.0-beta

2.0.0-alpha

12 Jan 12:53
382331c
Compare
Choose a tag to compare
2.0.0-alpha Pre-release
Pre-release

Why major bump?

Although the changes are all fairly minor, the one big thing that changes is the location of the loader. 1.x is within vendor/boxuk/wp-muplugin-loader/src/lkwdwrd/mu-loader.php and 2.x will be within vendor/boxuk/wp-muplugin-loader/src/mu-loader.php.

The updated mu-require.php file should happen automatically and thus cause no issues for the end user, however it's possible some implementations are expecting to the loader to be in that original location and thus I think a bump to a new major probably makes sense.

What's Changed

  • Refactoring of various things, mostly names and locations. by @jenkoian in #21
  • Makes the mu-plugin src directory configurable by @andrewjt71 in #22
  • [DEPS]: Bump phpunit/phpunit from 9.5.8 to 9.5.9 by @dependabot in #25
  • [DEPS]: Bump composer/composer from 2.1.6 to 2.1.7 by @dependabot in #26
  • [DEPS]: Bump mockery/mockery from 1.4.3 to 1.4.4 by @dependabot in #27
  • [DEPS]: Bump composer/composer from 2.1.7 to 2.1.8 by @dependabot in #28
  • [DEPS]: Bump phpunit/phpunit from 9.5.9 to 9.5.10 by @dependabot in #29
  • [DEPS]: Bump composer/composer from 2.1.8 to 2.1.9 by @dependabot in #30
  • [DEPS]: Bump composer/composer from 2.1.9 to 2.1.10 by @dependabot in #31
  • [DEPS]: Bump composer/composer from 2.1.10 to 2.1.11 by @dependabot in #32
  • [DEPS]: Bump composer/composer from 2.1.11 to 2.1.12 by @dependabot in #33
  • [DEPS]: Bump composer/composer from 2.1.12 to 2.1.14 by @dependabot in #34
  • [FEATURE] Fire action on completion of mu_loader by @andrewjt71 in #35
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #40
  • [DEPS]: Bump composer/composer from 2.1.14 to 2.2.3 by @dependabot in #42
  • Some minor refactoring and updating of deps. by @jenkoian in #39
  • [DEPS]: Bump composer/composer from 2.2.1 to 2.2.3 by @dependabot in #44
  • [DEPS]: Bump phpunit/phpunit from 9.5.10 to 9.5.11 by @dependabot in #43
  • [DEPS]: Bump composer/composer from 2.2.3 to 2.2.4 by @dependabot in #45
  • [REFACTOR] Very minor tidying. by @jenkoian in #46
  • [SETUP] Set composer branch alias to 2.0.x-dev. by @jenkoian in #47

Full Changelog: 1.5.1...2.0.0-RC1

1.6.1

01 Dec 17:09
e7f0317
Compare
Choose a tag to compare

What's Changed

  • [FEATURE] Fire action on completion of mu_loader by @andrewjt71 in #36

Full Changelog: 1.6.0...1.6.1

1.6.0

27 Aug 11:47
0466b58
Compare
Choose a tag to compare
  • Makes the mu-plugin src directory configurable via constant

1.5.1

25 Aug 11:09
4a9257c
Compare
Choose a tag to compare
  • Add dependabot
  • Upgrade to PHPUnit 9

1.5.0

05 Jul 10:04
20be598
Compare
Choose a tag to compare

1.4.1

10 Jun 08:15
62784b9
Compare
Choose a tag to compare
  • Fix issue where core plugins_url() with no params was returning the mu-plugins url