Changeset 59009 for trunk/src/wp-includes/http.php
- Timestamp:
- 09/11/2024 12:06:15 PM (14 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/http.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r58934 r59009 46 46 * See WP_Http::request() for information on accepted arguments. 47 47 * @return array|WP_Error The response or WP_Error on failure. 48 * See WP_Http::request() for information on return value. 48 49 */ 49 50 function wp_safe_remote_request( $url, $args = array() ) { … … 72 73 * See WP_Http::request() for information on accepted arguments. 73 74 * @return array|WP_Error The response or WP_Error on failure. 75 * See WP_Http::request() for information on return value. 74 76 */ 75 77 function wp_safe_remote_get( $url, $args = array() ) { … … 98 100 * See WP_Http::request() for information on accepted arguments. 99 101 * @return array|WP_Error The response or WP_Error on failure. 102 * See WP_Http::request() for information on return value. 100 103 */ 101 104 function wp_safe_remote_post( $url, $args = array() ) { … … 124 127 * See WP_Http::request() for information on accepted arguments. 125 128 * @return array|WP_Error The response or WP_Error on failure. 129 * See WP_Http::request() for information on return value. 126 130 */ 127 131 function wp_safe_remote_head( $url, $args = array() ) { … … 147 151 * @param array $args Optional. Request arguments. Default empty array. 148 152 * 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. 163 155 */ 164 156 function wp_remote_request( $url, $args = array() ) { … … 179 171 * See WP_Http::request() for information on accepted arguments. 180 172 * @return array|WP_Error The response or WP_Error on failure. 173 * See WP_Http::request() for information on return value. 181 174 */ 182 175 function wp_remote_get( $url, $args = array() ) { … … 197 190 * See WP_Http::request() for information on accepted arguments. 198 191 * @return array|WP_Error The response or WP_Error on failure. 192 * See WP_Http::request() for information on return value. 199 193 */ 200 194 function wp_remote_post( $url, $args = array() ) { … … 215 209 * See WP_Http::request() for information on accepted arguments. 216 210 * @return array|WP_Error The response or WP_Error on failure. 211 * See WP_Http::request() for information on return value. 217 212 */ 218 213 function wp_remote_head( $url, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.