[wp-trac] [WordPress Trac] #62518: HTML Processor state "context_node" is redundant

WordPress Trac noreply at wordpress.org
Fri Nov 22 09:39:44 UTC 2024


#62518: HTML Processor state "context_node" is redundant
-------------------------+--------------------
 Reporter:  jonsurrell   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  6.8
Component:  HTML API     |    Version:  6.6
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+--------------------
 The HTML Processor State `context_node` is redundant. The property has
 been superseded by `WP_HTML_Processor->context_node` since [58304].

 The property does not need to be created and can be removed.
 `WP_HTML_Processor_State` is an internal class marked with `@access
 private`.

 the `WP_HTML_Processor->state` property (where `WP_HTML_Processor_State`
 is used) is private, so any subclasses should not be affected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62518>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list