From 64857a2a8e0bf51af8a51db7223ede0e9494e96e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 20 Sep 2021 12:07:00 +0000 Subject: [PATCH] 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 --- wp-includes/class-http.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 320b4fcf1c..861d1d0e4b 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -309,8 +309,8 @@ class WP_Http { // WP allows passing in headers as a string, weirdly. if ( ! is_array( $parsed_args['headers'] ) ) { - $processedHeaders = WP_Http::processHeaders( $parsed_args['headers'] ); - $parsed_args['headers'] = $processedHeaders['headers']; + $processed_headers = WP_Http::processHeaders( $parsed_args['headers'] ); + $parsed_args['headers'] = $processed_headers['headers']; } // Setup arguments. diff --git a/wp-includes/version.php b/wp-includes/version.php index 5ab8e92205..48ca4219a4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.