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.

Built from https://develop.svn.wordpress.org/trunk@60540


git-svn-id: http://core.svn.wordpress.org/trunk@59876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jonsurrell
2025-08-05 14:02:27 +00:00
parent b8cf69052d
commit 2625a6ca44
3 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@
* @see https://html.spec.whatwg.org/#the-doctype
*
* DOCTYPE declarations comprise four properties: a name, public identifier, system identifier,
* and an indication of which document compatability mode they would imply if an HTML parser
* and an indication of which document compatibility mode they would imply if an HTML parser
* hadn't already determined it from other information.
*
* @see https://html.spec.whatwg.org/#the-initial-insertion-mode
@@ -128,14 +128,14 @@ class WP_HTML_Doctype_Info {
public $system_identifier = null;
/**
* Which document compatability mode this DOCTYPE declaration indicates.
* Which document compatibility mode this DOCTYPE declaration indicates.
*
* This value should be considered "read only" and not modified.
*
* When an HTML parser has not already set the document compatability mode,
* When an HTML parser has not already set the document compatibility mode,
* (e.g. "quirks" or "no-quirks" mode), it will infer if from the properties
* of the appropriate DOCTYPE declaration, if one exists. The DOCTYPE can
* indicate one of three possible document compatability modes:
* indicate one of three possible document compatibility modes:
*
* - "no-quirks" and "limited-quirks" modes (also called "standards" mode).
* - "quirks" mode (also called `CSS1Compat` mode).

View File

@@ -4504,7 +4504,7 @@ class WP_HTML_Tag_Processor {
const COMMENT_AS_INVALID_HTML = 'COMMENT_AS_INVALID_HTML';
/**
* No-quirks mode document compatability mode.
* No-quirks mode document compatibility mode.
*
* > In no-quirks mode, the behavior is (hopefully) the desired behavior
* > described by the modern HTML and CSS specifications.
@@ -4519,7 +4519,7 @@ class WP_HTML_Tag_Processor {
const NO_QUIRKS_MODE = 'no-quirks-mode';
/**
* Quirks mode document compatability mode.
* Quirks mode document compatibility mode.
*
* > In quirks mode, layout emulates behavior in Navigator 4 and Internet
* > Explorer 5. This is essential in order to support websites that were

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60539';
$wp_version = '6.9-alpha-60540';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.