Coding Standards: Rename the `$headerValue` variable to `$header_value` in `WP_Http_Streams::request()`.

This fixes a `Variable "$headerValue" is not in valid snake_case format` WPCS warning.

Follow-up to [8516], [51825], [51929], [51940], [52960], [52961], [52962].

Props azouamauriac.
See #54728.
Built from https://develop.svn.wordpress.org/trunk@52963


git-svn-id: http://core.svn.wordpress.org/trunk@52552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-03-20 15:52:06 +00:00
parent 6c3ea94f97
commit 0c8714dcda
2 changed files with 3 additions and 3 deletions

View File

@ -230,8 +230,8 @@ class WP_Http_Streams {
} }
if ( is_array( $parsed_args['headers'] ) ) { if ( is_array( $parsed_args['headers'] ) ) {
foreach ( (array) $parsed_args['headers'] as $header => $headerValue ) { foreach ( (array) $parsed_args['headers'] as $header => $header_value ) {
$headers .= $header . ': ' . $headerValue . "\r\n"; $headers .= $header . ': ' . $header_value . "\r\n";
} }
} else { } else {
$headers .= $parsed_args['headers']; $headers .= $parsed_args['headers'];

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-alpha-52962'; $wp_version = '6.0-alpha-52963';
/** /**
* 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.