Make WordPress Core


Ignore:
Timestamp:
02/22/2023 06:22:02 AM (14 months ago)
Author:
gziolo
Message:

HTML API: Set $this->html to protected to support subclassing

When the HTML API was introduced a number of fields were switched from private visibility to protected so that Gutenberg and other systems could more easily enhance the behaviors through subclassing. The $this->html property was overlooked but important for systems using the Tag Processor to stich HTML, specifically performing operations on innerHTML and innerText.

Follow-up [55203].
Props dmsnell.
See #57575.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.