Make WordPress Core

Ticket #63391: 63391.patch

File 63391.patch, 3.3 KB (added by nareshbheda, 6 months ago)

Typo correction: wp-includes/html-api/class-wp-html-doctype-info.php

  • src/wp-includes/html-api/class-wp-html-doctype-info.php

    diff --git a/src/wp-includes/html-api/class-wp-html-doctype-info.php b/src/wp-includes/html-api/class-wp-html-doctype-info.php
    index e0396f7d7d..22bb199c2e 100644
    a b  
    3636 * @see https://html.spec.whatwg.org/#the-doctype
    3737 *
    3838 * DOCTYPE declarations comprise four properties: a name, public identifier, system identifier,
    39  * and an indication of which document compatability mode they would imply if an HTML parser
     39 * and an indication of which document compatibility mode they would imply if an HTML parser
    4040 * hadn't already determined it from other information.
    4141 *
    4242 * @see https://html.spec.whatwg.org/#the-initial-insertion-mode
    class WP_HTML_Doctype_Info { 
    126126        public $system_identifier = null;
    127127
    128128        /**
    129          * Which document compatability mode this DOCTYPE declaration indicates.
     129         * Which document compatibility mode this DOCTYPE declaration indicates.
    130130         *
    131131         * This value should be considered "read only" and not modified.
    132132         *
    133          * When an HTML parser has not already set the document compatability mode,
     133         * When an HTML parser has not already set the document compatibility mode,
    134134         * (e.g. "quirks" or "no-quirks" mode), it will infer if from the properties
    135135         * of the appropriate DOCTYPE declaration, if one exists. The DOCTYPE can
    136          * indicate one of three possible document compatability modes:
     136         * indicate one of three possible document compatibility modes:
    137137         *
    138138         *  - "no-quirks" and "limited-quirks" modes (also called "standards" mode).
    139139         *  - "quirks" mode (also called `CSS1Compat` mode).