Skip to content

Commit

Permalink
add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
wordpressfan committed Jun 27, 2024
1 parent b6d8497 commit a372df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ private function send_remote_request( $api_url, $method, $params, $safe ) {
return wp_safe_remote_post( $api_url, $params );
}

new WP_Error( 400, __( 'Not valid request type.', 'rocket' ) );
return new WP_Error( 400, __( 'Not valid request type.', 'rocket' ) );
}
}

0 comments on commit a372df6

Please sign in to comment.