This repository was archived by the owner on Feb 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Add initial core abilities for WordPress 6.9 #108
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
cfff125
Add initial core abilities for WordPress 6.9
Jameswlepage 1957efb
Fix linting issues and update hook naming
Jameswlepage 299ecc9
Remove core/find-abilities ability
Jameswlepage 7f928ef
Refactor core abilities: namespace, categories, and expanded environm…
Jameswlepage 19f665a
Fix wp/get-current-user-info output schema required fields
Jameswlepage 033f653
Remove unused input parameter from wp/get-site-info permission callback
Jameswlepage dbf97f7
Refine core abilities with constants and improved descriptions
Jameswlepage 28b6040
Update includes/abilities/class-wp-core-abilities.php
Jameswlepage 93e85df
Fix code style and add environment examples in WP_Core_Abilities
Jameswlepage 53d37fb
Merge branch 'trunk' into feature/initial-core-abilities
Jameswlepage 6dced81
Merge branch 'trunk' into feature/initial-core-abilities
Jameswlepage 4dce755
Apply suggestions from code review
Jameswlepage 00fa5c1
Changed namespace back to core/ and not wp/ to align w/ GB
Jameswlepage afd83c9
Renaming Get Current User info to Get User Info to allow for flexibil…
Jameswlepage 766490b
Update function name for user info too
Jameswlepage 8f09665
Rewrite Site Info ability to return all fields by default w/ self doc…
Jameswlepage b7b69a1
Normalize ability inputs with schema defaults for empty REST calls
Jameswlepage 73a2092
drop input var on site permission callback
Jameswlepage 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
Some comments aren't visible on the classic Files Changed page.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran out of time to include that in the patch against WordPress
trunk. Is there anyone willing to handle the bug fix PR in core just for this change? 😄There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WordPress/wordpress-develop#10395 - started working on the patch. Unit tests are still missing at the time of writing.