[wp-trac] [WordPress Trac] #59993: HTML API: Track spans of text with (offset, length) instead of (start, end)

WordPress Trac noreply at wordpress.org
Tue Dec 19 13:20:07 UTC 2023


#59993: HTML API: Track spans of text with (offset, length) instead of (start, end)
-------------------------+------------------------------
 Reporter:  dmsnell      |       Owner:  zieladam
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  HTML API     |     Version:  trunk
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by david.binda):

 I have noticed that this changeset leads to PHP Fatal errors when used
 with the latest Gutenberg plugin ( tested with 17.2.3 and 17.3.0 RC1 ) as
 the plugin is extending some of the affected classes and is expecting the
 original properties (start, end).

 I have reported the issue in Gutenberg repository (
 https://github.com/WordPress/gutenberg/issues/57216 ), but wanted to flag
 it here as well despite the commit description mentioning the breaking
 changes.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59993#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list