WordPress.org

Make WordPress Core

Ticket #8591: 8591.diff

File 8591.diff, 519 bytes (added by vladimir_kolesnikov, 6 years ago)
  • wp-includes/comment.php

     
    12611261 
    12621262        $contents = $response['body']; 
    12631263 
     1264        if ( is_wp_error( $contents ) ) 
     1265                return false; 
     1266 
    12641267        $pingback_link_offset_dquote = strpos($contents, $pingback_str_dquote); 
    12651268        $pingback_link_offset_squote = strpos($contents, $pingback_str_squote); 
    12661269        if ( $pingback_link_offset_dquote || $pingback_link_offset_squote ) {