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-includes/general-template.php

    r55094 r55210  
    756756 * - 'charset' - The "Encoding for pages and feeds"  (set in Settings > Reading)
    757757 * - 'version' - The current WordPress version
    758  * - 'html_type' - The content-type (default: "text/html"). Themes and plugins
     758 * - 'html_type' - The Content-Type (default: "text/html"). Themes and plugins
    759759 *   can override the default value using the {@see 'pre_option_html_type'} filter
    760760 * - 'text_direction' - The text direction determined by the site's language. is_rtl()
Note: See TracChangeset for help on using the changeset viewer.