Skip to content

Conversation

@kmgalanakis
Copy link
Contributor

Description of the Change

In this PR, I'm adding a check for the minimum required PHP version before attempting to load the plugin files. If the condition is not met an admin notice is displayed and the plugin files are not loaded.

Closes #150

How to test the Change

  • To see the admin notice and have the plugin functionality not loaded, try to load the plugin on a site with PHP version lower that 7.4.

Changelog Entry

Added - Check for minimum required PHP version before loading the plugin

Credits

Props @kmgalanakis

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.
    c

@kmgalanakis kmgalanakis requested a review from a team as a code owner August 18, 2023 04:39
@kmgalanakis kmgalanakis requested review from Sidsector9 and removed request for a team August 18, 2023 04:39
@kmgalanakis kmgalanakis self-assigned this Aug 18, 2023
@kmgalanakis kmgalanakis added this to the 2.6.0 milestone Aug 18, 2023
…in functionality and output an admin notice if needed
@kmgalanakis kmgalanakis force-pushed the feature/add-php-checks branch from 94ee1e8 to 11c736c Compare August 18, 2023 05:22
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.

Add PHP checks

2 participants