From 2625a6ca444fa251aed8b6a65b2680319cb06034 Mon Sep 17 00:00:00 2001 From: jonsurrell Date: Tue, 5 Aug 2025 14:02:27 +0000 Subject: [PATCH] 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 --- wp-includes/html-api/class-wp-html-doctype-info.php | 8 ++++---- wp-includes/html-api/class-wp-html-tag-processor.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-includes/html-api/class-wp-html-doctype-info.php b/wp-includes/html-api/class-wp-html-doctype-info.php index e096be5d55..fd50ae05f5 100644 --- a/wp-includes/html-api/class-wp-html-doctype-info.php +++ b/wp-includes/html-api/class-wp-html-doctype-info.php @@ -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). diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php index 032ca2af32..83c1784418 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/wp-includes/html-api/class-wp-html-tag-processor.php @@ -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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 0fd27bde4e..2b5346b369 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.