Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces several updates to the
postman-smtp.php
file:Requires at least
andRequires PHP
headers to ensure compatibility checks are clear and explicit.post_smtp
as the unique plugin slug (likely something that could and should be done in other files as well) to ensurepost_smtp
is used consistently and properly deprecates other slug versions.version_compare()
checks to reflect that the plugin requires PHP 7.0. However, I believe WordPress performs compatibility checks natively, and if so, this check could be removed altogether.$requires_php_version
to ensure no conflicts with WordPress' built-in version handling.Please note that none of these changes has been tested.