Built/Test tools, HTTP API: Refactor test for multiple location headers.
Remove wordpress.org as an external dependency testing `WP_HTTP::handle_redirects()`. This refactors and reenables an existing test to call the `WP_HTTP::handle_redirects()` method directly with a mocked array of HTTP headers containing multiple location headers. The test is moved from the external-http group to the http test group as it no longer makes an HTTP request. Follow up to [54955]. Props SergeyBiryukov, dd32, peterwilsoncc. Merges [54968] to the 6.1 branch. Fixes #57306. See #56793. Built from https://develop.svn.wordpress.org/branches/6.1@54974 git-svn-id: http://core.svn.wordpress.org/branches/6.1@54526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca42fa5300
commit
0ed99784d8
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1.2-alpha-54966';
|
||||
$wp_version = '6.1.2-alpha-54974';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue