[wp-trac] [WordPress Trac] #57787: WP_HTML_Tag_Processor::seek() off by 1 byte when seeking bookmarks set on a closing tag

WordPress Trac noreply at wordpress.org
Wed Feb 22 16:38:20 UTC 2023


#57787: WP_HTML_Tag_Processor::seek() off by 1 byte when seeking bookmarks set on a
closing tag
-------------------------------------------------+-------------------------
 Reporter:  zieladam                             |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  gutenberg-merge has-patch has-unit-tests => gutenberg-merge
     has-patch has-unit-tests commit


Comment:

 Patch: https://github.com/WordPress/wordpress-develop/pull/4115

 * Before applying `WP_HTML_Tag_Processor` changes, the test fails 🔴
 * After applying the `WP_HTML_Tag_Processor` changes, the test passes 🟢

 The changes work as described ✅  Ready for commit 👍

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


More information about the wp-trac mailing list