-
Notifications
You must be signed in to change notification settings - Fork 16
fix: Wrong callback function for the Rest API endpoints. #79
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
base: trunk
Are you sure you want to change the base?
fix: Wrong callback function for the Rest API endpoints. #79
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #79 +/- ##
=========================================
Coverage 83.33% 83.33%
Complexity 96 96
=========================================
Files 8 8
Lines 516 516
=========================================
Hits 430 430
Misses 86 86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@emdashcodes, can you confirm it is a bug? |
That (and the passing tests) is only because we're not currently using If there isn't a specific reason to deviate, I'd recommend we follow core as proposed here(implement (Code LGTM and I don't think this needs tests either, not "approving" so it doesn't get accidently merged before @emdashcodes can weigh in) |
Fix the broken REST schema callback in the WP_REST_Abilities_List_Controller, as it is calling get_public_item_schema instead of get_item_schema.
Fixes #78