WordPress.org

Make WordPress Core

Ticket #45164: mypatch.diff

File mypatch.diff, 583 bytes (added by wiuempe, 12 months ago)
  • src/wp-includes/class-http.php

     
    276276                }
    277277
    278278                if ( $this->block_request( $url ) ) {
    279                         return new WP_Error( 'http_request_failed', __( 'User has blocked requests through HTTP.' ) );
     279                        return new WP_Error( 'http_request_failed', __( "User has blocked requests through HTTP to url: $url." ) );
    280280                }
    281281
    282282                // If we are streaming to a file but no filename was given drop it in the WP temp dir