Coding Standards: Rename the `$processedHeaders` variable to `$processed_headers` in `WP_Http::request()`.
This fixes a `Variable "$processedHeaders" is not in valid snake_case format` WPCS warning. Follow-up to [8620], [51823]. See #53359. Built from https://develop.svn.wordpress.org/trunk@51826 git-svn-id: http://core.svn.wordpress.org/trunk@51433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
baa81b67d1
commit
64857a2a8e
|
@ -309,8 +309,8 @@ class WP_Http {
|
||||||
|
|
||||||
// WP allows passing in headers as a string, weirdly.
|
// WP allows passing in headers as a string, weirdly.
|
||||||
if ( ! is_array( $parsed_args['headers'] ) ) {
|
if ( ! is_array( $parsed_args['headers'] ) ) {
|
||||||
$processedHeaders = WP_Http::processHeaders( $parsed_args['headers'] );
|
$processed_headers = WP_Http::processHeaders( $parsed_args['headers'] );
|
||||||
$parsed_args['headers'] = $processedHeaders['headers'];
|
$parsed_args['headers'] = $processed_headers['headers'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup arguments.
|
// Setup arguments.
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-alpha-51825';
|
$wp_version = '5.9-alpha-51826';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue