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
|
|
| 36 | 36 | * @see https://html.spec.whatwg.org/#the-doctype |
| 37 | 37 | * |
| 38 | 38 | * 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 |
| 40 | 40 | * hadn't already determined it from other information. |
| 41 | 41 | * |
| 42 | 42 | * @see https://html.spec.whatwg.org/#the-initial-insertion-mode |
| … |
… |
class WP_HTML_Doctype_Info { |
| 126 | 126 | public $system_identifier = null; |
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | | * Which document compatability mode this DOCTYPE declaration indicates. |
| | 129 | * Which document compatibility mode this DOCTYPE declaration indicates. |
| 130 | 130 | * |
| 131 | 131 | * This value should be considered "read only" and not modified. |
| 132 | 132 | * |
| 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, |
| 134 | 134 | * (e.g. "quirks" or "no-quirks" mode), it will infer if from the properties |
| 135 | 135 | * 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: |
| 137 | 137 | * |
| 138 | 138 | * - "no-quirks" and "limited-quirks" modes (also called "standards" mode). |
| 139 | 139 | * - "quirks" mode (also called `CSS1Compat` mode). |