Added WP minimum env And Fixed createPost issues in WP<5.8 #34
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.
Description of the Change
This PR adds WP Minimum env(WP 5.2) in GH actions and fixes below failed commands and tests in 5.2 env.
createPost
setPermalinkStructure
Closes #33
Tests are still failing for the below commands in WP minimum env and I have created the GH issues as below:
createTerm
-createTerm
tests are failing in WP minimum env. #35openDocumentSettingsPanel
&openDocumentSettingsSidebar
-openDocumentSettingsPanel
&openDocumentSettingsSidebar
tests are failing in WP minimum env. #36Checklist:
Changelog Entry
Added - WP minimum(5.2) env in GH actions to test with.
Changed - Made
createPost
andsetPermalinkStructure
compatible with WP minimum(5.2) env.Credits
Props @iamdharmesh