Make WordPress Core

Changeset 18185


Ignore:
Timestamp:
06/08/2011 12:51:31 AM (15 years ago)
Author:
ryan
Message:

HTTP API PHP Doc Updates. Props sivel. fixes #17724

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r17925 r18185  
    7777         * @param string $url URI resource.
    7878         * @param str|array $args Optional. Override the defaults.
    79          * @return array|object Array containing 'headers', 'body', 'response', 'cookies'. A WP_Error instance upon error
     79         * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error
    8080         */
    8181        function request( $url, $args = array() ) {
     
    239239         * @param string $url URL to Request
    240240         * @param array $args Request arguments
    241          * @return array|object Array containing 'headers', 'body', 'response', 'cookies'. A WP_Error instance upon error
     241         * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error
    242242         */
    243243        private function _dispatch_request( $url, $args ) {
     
    272272         * @param string $url URI resource.
    273273         * @param str|array $args Optional. Override the defaults.
    274          * @return array|object Array containing 'headers', 'body', 'response', 'cookies'. A WP_Error instance upon error
     274         * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error
    275275         */
    276276        function post($url, $args = array()) {
     
    290290         * @param string $url URI resource.
    291291         * @param str|array $args Optional. Override the defaults.
    292          * @return array|object Array containing 'headers', 'body', 'response', 'cookies'. A WP_Error instance upon error
     292         * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error
    293293         */
    294294        function get($url, $args = array()) {
     
    308308         * @param string $url URI resource.
    309309         * @param str|array $args Optional. Override the defaults.
    310          * @return array|object Array containing 'headers', 'body', 'response', 'cookies'. A WP_Error instance upon error
     310         * @return array|object Array containing 'headers', 'body', 'response', 'cookies', 'filename'. A WP_Error instance upon error
    311311         */
    312312        function head($url, $args = array()) {
     
    562562         * @param string $url URI resource.
    563563         * @param str|array $args Optional. Override the defaults.
    564          * @return array 'headers', 'body', 'cookies' and 'response' keys.
     564         * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys.
    565565         */
    566566        function request($url, $args = array()) {
     
    793793         * @param string $url
    794794         * @param str|array $args Optional. Override the defaults.
    795          * @return array 'headers', 'body', 'cookies' and 'response' keys.
     795         * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys.
    796796         */
    797797        function request($url, $args = array()) {
     
    983983         * @param string $url
    984984         * @param str|array $args Optional. Override the defaults.
    985          * @return array 'headers', 'body', 'cookies' and 'response' keys.
     985         * @return array 'headers', 'body', 'response', 'cookies' and 'filename' keys.
    986986         */
    987987        function request($url, $args = array()) {
Note: See TracChangeset for help on using the changeset viewer.