Changeset 46696 for trunk/src/wp-includes/http.php
- Timestamp:
- 11/11/2019 02:41:15 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r46475 r46696 42 42 * @param string $url URL to retrieve. 43 43 * @param array $args Optional. Request arguments. Default empty array. 44 * @return WP_Error|arrayThe response or WP_Error on failure.44 * @return array|WP_Error The response or WP_Error on failure. 45 45 */ 46 46 function wp_safe_remote_request( $url, $args = array() ) { … … 63 63 * @param string $url URL to retrieve. 64 64 * @param array $args Optional. Request arguments. Default empty array. 65 * @return WP_Error|arrayThe response or WP_Error on failure.65 * @return array|WP_Error The response or WP_Error on failure. 66 66 */ 67 67 function wp_safe_remote_get( $url, $args = array() ) { … … 84 84 * @param string $url URL to retrieve. 85 85 * @param array $args Optional. Request arguments. Default empty array. 86 * @return WP_Error|arrayThe response or WP_Error on failure.86 * @return array|WP_Error The response or WP_Error on failure. 87 87 */ 88 88 function wp_safe_remote_post( $url, $args = array() ) { … … 105 105 * @param string $url URL to retrieve. 106 106 * @param array $args Optional. Request arguments. Default empty array. 107 * @return WP_Error|arrayThe response or WP_Error on failure.107 * @return array|WP_Error The response or WP_Error on failure. 108 108 */ 109 109 function wp_safe_remote_head( $url, $args = array() ) { … … 128 128 * @param string $url URL to retrieve. 129 129 * @param array $args Optional. Request arguments. Default empty array. 130 * @return WP_Error|array{130 * @return array|WP_Error { 131 131 * The response array or a WP_Error on failure. 132 132 * … … 158 158 * @param string $url URL to retrieve. 159 159 * @param array $args Optional. Request arguments. Default empty array. 160 * @return WP_Error|arrayThe response or WP_Error on failure.160 * @return array|WP_Error The response or WP_Error on failure. 161 161 */ 162 162 function wp_remote_get( $url, $args = array() ) { … … 175 175 * @param string $url URL to retrieve. 176 176 * @param array $args Optional. Request arguments. Default empty array. 177 * @return WP_Error|arrayThe response or WP_Error on failure.177 * @return array|WP_Error The response or WP_Error on failure. 178 178 */ 179 179 function wp_remote_post( $url, $args = array() ) { … … 192 192 * @param string $url URL to retrieve. 193 193 * @param array $args Optional. Request arguments. Default empty array. 194 * @return WP_Error|arrayThe response or WP_Error on failure.194 * @return array|WP_Error The response or WP_Error on failure. 195 195 */ 196 196 function wp_remote_head( $url, $args = array() ) {
Note: See TracChangeset
for help on using the changeset viewer.