Skip to content

Commit

Permalink
Fix CS and typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko committed Dec 14, 2024
1 parent 294584e commit 3bd2742
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ public function get_items_permissions_check( $request ) {
* @return WP_REST_Response Response object on success, or WP_Error object on failure.
*/
public function get_items( $request ) {

if ( $request->is_method( 'HEAD' ) ) {
// Return early as this method doesn't add any headers.
// Return early as this handler doesn't add any response headers.
return new WP_REST_Response();
}

Expand Down

0 comments on commit 3bd2742

Please sign in to comment.