[wp-trac] [WordPress Trac] #29719: Connection error to WordPress.org when HTTP calls disabled

WordPress Trac noreply at wordpress.org
Wed Jan 28 16:15:27 UTC 2015


#29719: Connection error to WordPress.org when HTTP calls disabled
-----------------------------+------------------------------
 Reporter:  grapplerulrich   |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  4.0
 Severity:  minor            |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------

Comment (by jesin):

 How about setting the `WP_Error` code for the `if ( $this->block_request(
 $url ) )` condition to something meaningful other than
 **http_request_failed**. This can be checked inside **update.php** before
 throwing a PHP warning.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29719#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list