Make WordPress Core


Ignore:
Timestamp:
08/12/2008 09:21:11 PM (17 years ago)
Author:
westi
Message:

HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r8600 r8630  
    1111
    1212    if ( ! $res ) {
    13         $request = wp_remote_post('http://api.wordpress.org/plugins/info/1.0/', array(), array(), array('action' => $action, 'request' => serialize($args)) );
     13        $request = wp_remote_post('http://api.wordpress.org/plugins/info/1.0/', array( 'body' => array('action' => $action, 'request' => serialize($args))) );
    1414        $res = unserialize($request['body']);
    1515        if ( ! $res )
Note: See TracChangeset for help on using the changeset viewer.