mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 12:00:03 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e38ea6ae31
commit
c49c99f837
@ -230,8 +230,8 @@ class WP_Http_Streams {
|
||||
}
|
||||
|
||||
if ( is_array( $parsed_args['headers'] ) ) {
|
||||
foreach ( (array) $parsed_args['headers'] as $header => $headerValue ) {
|
||||
$headers .= $header . ': ' . $headerValue . "\r\n";
|
||||
foreach ( (array) $parsed_args['headers'] as $header => $header_value ) {
|
||||
$headers .= $header . ': ' . $header_value . "\r\n";
|
||||
}
|
||||
} else {
|
||||
$headers .= $parsed_args['headers'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user