Make WordPress Core


Ignore:
Timestamp:
02/03/2023 01:33:18 PM (2 years 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-mail.php

    r55051 r55210  
    172172        $content = $content[2];
    173173
    174         // Match case-insensitive content-transfer-encoding.
     174        // Match case-insensitive Content-Transfer-Encoding.
    175175        if ( preg_match( '/Content-Transfer-Encoding: quoted-printable/i', $content, $delim ) ) {
    176176            $content = explode( $delim[0], $content );
Note: See TracChangeset for help on using the changeset viewer.