humanmade / humanmade/hm-core

Don't use get_plugins() in mu-plugin loader

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
106
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Doing so requires `include_once( ABSPATH . 'wp-admin/includes/plugin.php' );`, which breaks things on installation.

The better approach is to just use some variant of `glob()`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.