Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Requires Plugins header check stricter #810

Merged

Conversation

ernilambar
Copy link
Member

Fixes #806

@ernilambar ernilambar force-pushed the 806-make-plugin_header_invalid_requires_plugins-an-error branch from 45fb203 to 9bc5cf1 Compare November 26, 2024 06:59
@ernilambar ernilambar marked this pull request as ready for review November 26, 2024 07:04
Copy link

github-actions bot commented Nov 26, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ernilambar <[email protected]>
Co-authored-by: davidperezgar <[email protected]>
Co-authored-by: swissspidy <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ernilambar ernilambar added [Type] Enhancement A suggestion for improvement of an existing feature [Team] Plugin Review Issues owned by Plugin Review Team labels Nov 26, 2024
@ernilambar ernilambar added this to the 1.3.0 milestone Nov 26, 2024
@@ -4,7 +4,7 @@
* Plugin URI: https://github.com/WordPress/plugin-check
* Description: Test plugin for the Localhost check.
* Requires at least: 6.0
* Requires PHP: 5.6
* Requires PHP: latest
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have one test where we check for lack of error plugin_header_invalid_requires_plugins. This change has been done so that there is errors in $errors variable in the test and our targeted code is not there.

@swissspidy swissspidy merged commit f68dc26 into trunk Nov 26, 2024
28 checks passed
@swissspidy swissspidy deleted the 806-make-plugin_header_invalid_requires_plugins-an-error branch November 26, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Team] Plugin Review Issues owned by Plugin Review Team [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make error code plugin_header_invalid_requires_plugins an ERROR with severity 7
3 participants