Make WordPress Core


Ignore:
Timestamp:
09/11/2024 12:06:15 PM (14 months ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements and corrections.

See #61608

File:
1 edited

Legend:

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

    r58934 r59009  
    4646 *                     See WP_Http::request() for information on accepted arguments.
    4747 * @return array|WP_Error The response or WP_Error on failure.
     48 *                        See WP_Http::request() for information on return value.
    4849 */
    4950function wp_safe_remote_request( $url, $args = array() ) {
     
    7273 *                     See WP_Http::request() for information on accepted arguments.
    7374 * @return array|WP_Error The response or WP_Error on failure.
     75 *                        See WP_Http::request() for information on return value.
    7476 */
    7577function wp_safe_remote_get( $url, $args = array() ) {
     
    98100 *                     See WP_Http::request() for information on accepted arguments.
    99101 * @return array|WP_Error The response or WP_Error on failure.
     102 *                        See WP_Http::request() for information on return value.
    100103 */
    101104function wp_safe_remote_post( $url, $args = array() ) {
     
    124127 *                     See WP_Http::request() for information on accepted arguments.
    125128 * @return array|WP_Error The response or WP_Error on failure.
     129 *                        See WP_Http::request() for information on return value.
    126130 */
    127131function wp_safe_remote_head( $url, $args = array() ) {
     
    147151 * @param array  $args Optional. Request arguments. Default empty array.
    148152 *                     See WP_Http::request() for information on accepted arguments.
    149  * @return array|WP_Error {
    150  *     The response array or a WP_Error on failure.
    151  *
    152  *     @type string[]                       $headers       Array of response headers keyed by their name.
    153  *     @type string                         $body          Response body.
    154  *     @type array                          $response      {
    155  *         Data about the HTTP response.
    156  *
    157  *         @type int|false    $code    HTTP response code.
    158  *         @type string|false $message HTTP response message.
    159  *     }
    160  *     @type WP_HTTP_Cookie[]               $cookies       Array of response cookies.
    161  *     @type WP_HTTP_Requests_Response|null $http_response Raw HTTP response object.
    162  * }
     153 * @return array|WP_Error The response array or a WP_Error on failure.
     154 *                        See WP_Http::request() for information on return value.
    163155 */
    164156function wp_remote_request( $url, $args = array() ) {
     
    179171 *                     See WP_Http::request() for information on accepted arguments.
    180172 * @return array|WP_Error The response or WP_Error on failure.
     173 *                        See WP_Http::request() for information on return value.
    181174 */
    182175function wp_remote_get( $url, $args = array() ) {
     
    197190 *                     See WP_Http::request() for information on accepted arguments.
    198191 * @return array|WP_Error The response or WP_Error on failure.
     192 *                        See WP_Http::request() for information on return value.
    199193 */
    200194function wp_remote_post( $url, $args = array() ) {
     
    215209 *                     See WP_Http::request() for information on accepted arguments.
    216210 * @return array|WP_Error The response or WP_Error on failure.
     211 *                        See WP_Http::request() for information on return value.
    217212 */
    218213function wp_remote_head( $url, $args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.