Make WordPress Core


Ignore:
Timestamp:
08/19/2025 03:06:12 PM (15 months ago)
Author:
jonsurrell
Message:

HTML API: Fix typo in indicated_compatibility_mode.

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

Follow-up to [60540].

Props jonsurrell, dmsnell.
Fixes #63391.

File:
1 edited

Legend:

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

    r60633 r60647  
    14711471                        case 'html':
    14721472                                $doctype = $this->get_doctype_info();
    1473                                 if ( null !== $doctype && 'quirks' === $doctype->indicated_compatability_mode ) {
     1473                                if ( null !== $doctype && 'quirks' === $doctype->indicated_compatibility_mode ) {
    14741474                                        $this->compat_mode = WP_HTML_Tag_Processor::QUIRKS_MODE;
    14751475                                }
Note: See TracChangeset for help on using the changeset viewer.