Skip to content

Commit

Permalink
Fix fatal error with unexisting function countPlugins()
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Jun 25, 2024
1 parent 4537d8a commit aa6ae1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.4.8: 2024-06-25

* Fix fatal error with unexisting function countPlugins()

### 2.4.7: 2024-06-20

* Update bedrock-autoloader.php
Expand Down
2 changes: 1 addition & 1 deletion content/mu-plugins/bedrock-autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function __construct() {
public function load_plugins() {
$this->check_cache();
$this->validate_plugins();
$this->countPlugins();
$this->count_plugins();

array_map(static function () {
include_once WPMU_PLUGIN_DIR . '/' . func_get_args()[0];
Expand Down

0 comments on commit aa6ae1a

Please sign in to comment.