We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7627ba commit d9b0777Copy full SHA for d9b0777
.maintenance/src/GitHub.php
@@ -141,7 +141,13 @@ public static function get_release_by_tag(
141
142
$args['per_page'] = 100;
143
144
- list( $body, $headers ) = self::request( $request_url, $args );
+ $result = self::request( $request_url, $args );
145
+
146
+ if ( ! $result ) {
147
+ return false;
148
+ }
149
150
+ list( $body, $headers ) = $result;
151
152
return $body;
153
}
0 commit comments