Skip to content

Commit

Permalink
Merge branch 'release/1.9.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jul 14, 2022
2 parents 627a12e + 1076f68 commit 04c4656
Show file tree
Hide file tree
Showing 5 changed files with 427 additions and 2,400 deletions.
4 changes: 2 additions & 2 deletions classes/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private function __construct( Plugin $plugin ) {
*/
public function http_response( $response, $parsed_args, $url ) {
if ( ! \array_key_exists( 'method', $parsed_args ) ) {
return $repsonse;
return $response;
}

if ( 'POST' !== $parsed_args['method'] ) {
Expand All @@ -62,7 +62,7 @@ public function http_response( $response, $parsed_args, $url ) {
}

/**
* Extends WordPress.org API repsonse with Pronamic API response.
* Extends WordPress.org API response with Pronamic API response.
*
* @param array $response HTTP response.
* @param array $parsed_args HTTP request arguments.
Expand Down
Loading

0 comments on commit 04c4656

Please sign in to comment.