[wp-trac] [WordPress Trac] #37097: Return array from WP_Http::request for compatibility

WordPress Trac noreply at wordpress.org
Thu Jun 16 02:20:48 UTC 2016


#37097: Return array from WP_Http::request for compatibility
--------------------------+--------------------
 Reporter:  rmccue        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6
Component:  HTTP API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by jamescollins):

 Running latest trunk (r37720), I was getting the following when visiting
 {{{wp-admin/update-core.php?force-check=1}}} :

 {{{
 Warning: Invalid argument supplied for foreach() in wp-includes/update.php
 on line 315
 Warning: Invalid argument supplied for foreach() in wp-includes/update.php
 on line 325
 Notice: Undefined index: translations in wp-includes/update.php on line
 332
 }}}

 After applying {{{37097.diff}}}, the errors no longer occur.

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


More information about the wp-trac mailing list