Skip to content

Commit

Permalink
Restore and deprecate the context_node property
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Nov 26, 2024
1 parent cbbb439 commit e2ae44a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/wp-includes/html-api/class-wp-html-processor-state.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,16 @@ class WP_HTML_Processor_State {
*/
public $insertion_mode = self::INSERTION_MODE_INITIAL;

/**
* Context node initializing fragment parser, if created as a fragment parser.
*
* @since 6.4.0
* @deprecated 6.8.0 WP_HTML_Processor tracks the context_node internally.
*
* @var null
*/
public $context_node = null;

/**
* The recognized encoding of the input byte stream.
*
Expand Down

0 comments on commit e2ae44a

Please sign in to comment.