Make WordPress Core


Ignore:
Timestamp:
02/03/2023 01:51:11 PM (15 months ago)
Author:
audrasjb
Message:

HTTP API: Fix a unit test failure found after [55210].

Follow-up to [55210].

See #54225.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r55210 r55211  
    513513         */
    514514        $response          = wp_remote_get( $test_url, array( 'timeout' => 5 ) );
    515         $x_pingback_header = wp_remote_retrieve_header( $response, 'X-Pingback' );
     515        $x_pingback_header = wp_remote_retrieve_header( $response, 'x-pingback' );
    516516        $pretty_permalinks = $x_pingback_header && get_bloginfo( 'pingback_url' ) === $x_pingback_header;
    517517
Note: See TracChangeset for help on using the changeset viewer.