From 0c8714dcda430b962c84f35c66d84f8bc1f02424 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 20 Mar 2022 15:52:06 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-http-streams.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-http-streams.php b/wp-includes/class-wp-http-streams.php index 7df0af651f..a7f73d84ce 100644 --- a/wp-includes/class-wp-http-streams.php +++ b/wp-includes/class-wp-http-streams.php @@ -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']; diff --git a/wp-includes/version.php b/wp-includes/version.php index cfe6c76477..c5f97e901e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.