Make WordPress Core

Ticket #58831: 58831-use-correct-case-for-class-name.patch

File 58831-use-correct-case-for-class-name.patch, 807 bytes (added by jrf, 12 months ago)
  • tests/phpunit/tests/http/http.php

    From 8237bc7fc13d87d29245abbacc5543311428e918 Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Wed, 29 Mar 2023 00:47:07 +0200
    Subject: [PATCH] CS: use correct case for class name
    
    ---
     tests/phpunit/tests/http/http.php | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/tests/phpunit/tests/http/http.php b/tests/phpunit/tests/http/http.php
    index c82337abb7..446b9c5450 100644
    a b class Tests_HTTP_HTTP extends WP_UnitTestCase { 
    644644                        'method'       => 'GET',
    645645                );
    646646
    647                 $redirect_response = WP_HTTP::handle_redirects(
     647                $redirect_response = WP_Http::handle_redirects(
    648648                        'http://example.com/?multiple-location-headers=1',
    649649                        $args,
    650650                        array(