From 897eefe2e383d5d1fd24c85a5fece014234479c9 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 3 Feb 2023 13:53:18 +0000 Subject: [PATCH] HTTP API: Fix a unit test failure found after [55210]. Follow-up to [55210]. See #54225. Built from https://develop.svn.wordpress.org/trunk@55211 git-svn-id: http://core.svn.wordpress.org/trunk@54744 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 9c4cb43580..63580cceb0 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -512,7 +512,7 @@ function wp_install_maybe_enable_pretty_permalinks() { * can block head requests. */ $response = wp_remote_get( $test_url, array( 'timeout' => 5 ) ); - $x_pingback_header = wp_remote_retrieve_header( $response, 'X-Pingback' ); + $x_pingback_header = wp_remote_retrieve_header( $response, 'x-pingback' ); $pretty_permalinks = $x_pingback_header && get_bloginfo( 'pingback_url' ) === $x_pingback_header; if ( $pretty_permalinks ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 12301dbaea..8f59c4bef3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55210'; +$wp_version = '6.2-alpha-55211'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.