WordPress / wp-plugin-dependencies

WordPress Feature Project: Plugin Dependencies
https://make.wordpress.org/core/2022/02/24/feature-project-plugin-dependencies/
MIT License
69 stars 9 forks source link

Add a plugin header data #26

Closed sebastienserre closed 2 years ago

sebastienserre commented 2 years ago

Hello,

This is a really great idea, thanks for it.

I think adding a plugin header information like "Depedencies:" should be a great idea for plugins which are requiring dependency.

If your plugin installed or one it will be in Core, WordPress or your plugin will parse the plugin header like it's done today and be able to add the required plugins to the mechanism.

afragen commented 2 years ago

Why do you think it's better to use Dependencies instead of what we currently use Requires Plugins?

I ask as all the other headers that denote requirements are similar, Requires at least, Requires PHP

sebastienserre commented 2 years ago

Thank you, I think I've misunderstood how it works :-).

afragen commented 2 years ago

I'm happy to discuss and make sure you do understand how it works. The README Description has a summary of how it's supposed to work.