Skip to content

Commit 8e80450

Browse files
committed
fix #480
1 parent 7ab2218 commit 8e80450

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

includes/class-receiver.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,10 @@ public static function default_commentdata( $commentdata ) {
653653

654654
$response = Request::get( $commentdata['source'] );
655655

656+
if ( ! $response || is_wp_error( $response ) ) {
657+
return $response;
658+
}
659+
656660
$handler = new Handler();
657661
$item = $handler->parse_aggregated( $response, $commentdata['target'] );
658662

0 commit comments

Comments
 (0)