Make WordPress Core


Ignore:
Timestamp:
11/27/2024 09:52:21 AM (14 months ago)
Author:
gziolo
Message:

HTML API: Remove unused processor state context_node property

The HTML Processor State context_node is redundant and can be deprecated. The property has been superseded by WP_HTML_Processor->context_node since [58304].

Props jonsurrell, gziolo.
Fixes #62518.

File:
1 edited

Legend:

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

    r58985 r59463  
    361361     *
    362362     * @since 6.4.0
    363      *
    364      * @see https://html.spec.whatwg.org/#concept-frag-parse-context
    365      *
    366      * @var [string, array]|null
     363     * @deprecated 6.8.0 WP_HTML_Processor tracks the context_node internally.
     364     *
     365     * @var null
    367366     */
    368367    public $context_node = null;
Note: See TracChangeset for help on using the changeset viewer.