Make WordPress Core


Ignore:
Timestamp:
02/03/2023 01:33:18 PM (17 months ago)
Author:
audrasjb
Message:

HTTP API: Fix request header inconsistencies.

This changeset improves the consistency in capitalization of fetching and outputting of request headers. It also updates occurrences found in some docblocks.

Props johnjamesjacoby, costdev, audrasjb, petitphp, mhkuu, SergeyBiryukov.
Fixes #54225.

File:
1 edited

Legend:

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

    r55166 r55210  
    464464        // Set Content-Type and charset.
    465465
    466         // If we don't have a content-type from the input headers.
     466        // If we don't have a Content-Type from the input headers.
    467467        if ( ! isset( $content_type ) ) {
    468468            $content_type = 'text/plain';
Note: See TracChangeset for help on using the changeset viewer.