Make WordPress Core

Changeset 60540


Ignore:
Timestamp:
08/05/2025 02:00:29 PM (13 months ago)
Author:
jonsurrell
Message:

Docs: Fix typos in HTML API documentation.

Corrects misspelling "compatability" to "compatibility."

Developed in https://github.com/WordPress/wordpress-develop/pull/8769.

Props dhruvang21, jonsurrell, abcd95, getsyash, truptikanzariya, nareshbheda, sergeybiryukov, dmsnell, sabernhardt.
See #63391.

Location:
trunk/src/wp-includes/html-api
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/html-api/class-wp-html-doctype-info.php

    r60501 r60540  
    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 *
     
    129129
    130130        /**
    131          * Which document compatability mode this DOCTYPE declaration indicates.
     131         * Which document compatibility mode this DOCTYPE declaration indicates.
    132132         *
    133133         * This value should be considered "read only" and not modified.
    134134         *
    135          * When an HTML parser has not already set the document compatability mode,
     135         * When an HTML parser has not already set the document compatibility mode,
    136136         * (e.g. "quirks" or "no-quirks" mode), it will infer if from the properties
    137137         * of the appropriate DOCTYPE declaration, if one exists. The DOCTYPE can
    138          * indicate one of three possible document compatability modes:
     138         * indicate one of three possible document compatibility modes:
    139139         *
    140140         *  - "no-quirks" and "limited-quirks" modes (also called "standards" mode).
  • trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php

    r59812 r60540  
    45054505
    45064506        /**
    4507          * No-quirks mode document compatability mode.
     4507         * No-quirks mode document compatibility mode.
    45084508         *
    45094509         * > In no-quirks mode, the behavior is (hopefully) the desired behavior
     
    45204520
    45214521        /**
    4522          * Quirks mode document compatability mode.
     4522         * Quirks mode document compatibility mode.
    45234523         *
    45244524         * > In quirks mode, layout emulates behavior in Navigator 4 and Internet
Note: See TracChangeset for help on using the changeset viewer.