-
Notifications
You must be signed in to change notification settings - Fork 15
Fix $input
type hint in WP_Ability
#61
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7998c24
Fix `$input` type hint in `WP_Ability`
gziolo f6f3301
Update REST API usage for the input param to account for mixed type
gziolo 1117ceb
Add unit tests covering input types
gziolo dd6d94c
Make input optional on execute callback when no schema and input prov…
gziolo 1935799
Prefix data providers with `data_` to follow WP Core conventions
gziolo dd559dd
Extend testing code coverage
gziolo 2ae6798
Add additional test for array input
gziolo 984ff4e
Improve the tests
gziolo 9c03266
Update documentation to account for input type changes
gziolo 7de0b41
Update includes/abilities-api/class-wp-ability.php
gziolo 6f8b2ee
Update includes/abilities-api/class-wp-ability.php
gziolo 3f2a269
Update includes/abilities-api/class-wp-ability.php
gziolo c377af9
Change input schema validation handling according to the feedback
gziolo 3bf4533
Adjust tests to ensure that input schema is handled correctly
gziolo a21105f
Define the explicit types for run args in REST API endpoint
gziolo df96710
Update includes/abilities-api/class-wp-ability.php
gziolo ce5b863
Merge branch 'trunk' into update/input-array-hint
gziolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.