Add Required Plugin header field to Header Requirements #1531
Labels
developer documentation (DevHub)
Improvements or additions to developer documentation
plugins
Issues for Plugin Developer Handbook
[Status] Done
Issue is completed
Issue Description
I suggest adding the new
Required Plugins
header field to the Header Fields page. The header field was introduced in 6.5.URL of the Page with the Issue
https://developer.wordpress.org/plugins/plugin-basics/header-requirements/
Section of Page with the issue
Header Fields: https://developer.wordpress.org/plugins/plugin-basics/header-requirements/#header-fields
Why is this a problem?
WordPress 6.5 introduced a new header field -
Required Plugins
. And it is a very useful feature to help users.Suggested Fix
Add text like the following to the
Available header fields
list. This text is copied from the page mentioned in the 6.5 release notes.https://make.wordpress.org/core/2024/03/05/introducing-plugin-dependencies-in-wordpress-6-5/
Requires Plugins: This must contain a comma-separated list of WordPress.org-formatted slugs for its dependencies, such as my-plugin (my-plugin/my-plugin.php is not supported). It does not support commas in plugin slugs.
The text was updated successfully, but these errors were encountered: