-
Notifications
You must be signed in to change notification settings - Fork 49
Add HEAD method support for performance optimization #71
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
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 Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @[email protected]. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. 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 #71 +/- ##
============================================
+ Coverage 84.22% 84.28% +0.06%
- Complexity 96 97 +1
============================================
Files 8 8
Lines 507 509 +2
============================================
+ Hits 427 429 +2
Misses 80 80
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:
|
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.
Thank you for opening the patch. This looks close to go. I left only minor feedback
includes/rest-api/endpoints/class-wp-rest-abilities-list-controller.php
Outdated
Show resolved
Hide resolved
includes/rest-api/endpoints/class-wp-rest-abilities-list-controller.php
Outdated
Show resolved
Hide resolved
gziolo
left a comment
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.
Thank you for addressing the feedback.
|
You're welcome 😁 so fast I didn't have the chance to comment back |
|
Right, I'm reviewing other open PRs today, so I immediately saw the notification 😄 |
Summary
Implementation Details
$request->is_method( 'HEAD' )Testing
Closes #16