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

Add min php and wp notice #80

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Add min php and wp notice #80

merged 2 commits into from
Oct 21, 2024

Conversation

ingeniumed
Copy link
Contributor

Description

I realized we don't have a PHP and WP version check and the one we have been relying won't really be enforced for the way we expect this plugin to be deployed. So I have added in a manual check, akin to what we have in the workflow plugin.

This is already what the plugin supports so it's just matching that.

Steps to Test

Either load a WP version prior to 6.0 with PHP version lower than 8.0, or change those numbers to something arbitrary and see it fail.

@ingeniumed ingeniumed requested a review from a team as a code owner September 12, 2024 04:32
Copy link
Contributor

@alecgeatches alecgeatches left a comment

Choose a reason for hiding this comment

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

Changes look good to me, but I'm not sure that we need to bump the version and do a release for this PR alone. What about leaving it at 1.4.1, and then this will get merged when we do a next release?

@ingeniumed
Copy link
Contributor Author

Changes look good to me, but I'm not sure that we need to bump the version and do a release for this PR alone. What about leaving it at 1.4.1, and then this will get merged when we do a next release?

Agreed on that, works for me tbh

Copy link
Contributor

@alecgeatches alecgeatches left a comment

Choose a reason for hiding this comment

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

Merged #82 and #83, going to move this in as well. Thank you!

@alecgeatches alecgeatches merged commit 8c48174 into trunk Oct 21, 2024
4 checks passed
@alecgeatches alecgeatches deleted the add/min-wp-php-notice branch October 21, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants