Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Required plugins format issue #4

Open
overclokk opened this issue Aug 26, 2017 · 0 comments
Open

Required plugins format issue #4

overclokk opened this issue Aug 26, 2017 · 0 comments
Assignees
Labels

Comments

@overclokk
Copy link
Owner

The $plugins Required plugins format take the plugin name from the plugin docBlock:

/**
 * Plugin Name: My Awesome Plugin
 */

and convert it in this format my-awesome-plugin and check from the active plugin, this is not a good idea because the developer of that plugin could change the name of the plugin with something else, I think it's better to search from the registered plugins array instead of the name with a format like this plugin-dir-name/file or maybe do a recommended or required like TGM does.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant