Changeset 47557 for trunk/src/wp-includes/class-http.php
- Timestamp:
- 04/09/2020 03:41:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r47550 r47557 1042 1042 // POST requests should not POST to a redirected location. 1043 1043 if ( 'POST' == $args['method'] ) { 1044 if ( in_array( $response['response']['code'], array( 302, 303 ) ) ) {1044 if ( in_array( $response['response']['code'], array( 302, 303 ), true ) ) { 1045 1045 $args['method'] = 'GET'; 1046 1046 }
Note: See TracChangeset
for help on using the changeset viewer.