[wp-trac] [WordPress Trac] #61617: HTML API: Add method to replace modifiable text.
WordPress Trac
noreply at wordpress.org
Wed Jul 10 05:46:57 UTC 2024
#61617: HTML API: Add method to replace modifiable text.
-------------------------+-----------------------
Reporter: dmsnell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.7
Component: HTML API | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------
The HTML API has provided `get_modifiable_text()` since WordPress 6.5, but
it has never provided a method to change the modifiable text for a given
token in the document.
It should provide this function to make it possible to safely replace HTML
text nodes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61617>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list