[wp-trac] [WordPress Trac] #58160: HTML API: Fix case where updates are overlooked when seeking to earlier locations.

WordPress Trac noreply at wordpress.org
Fri Apr 21 13:30:26 UTC 2023


#58160: HTML API: Fix case where updates are overlooked when seeking to earlier
locations.
--------------------------------------+------------------------------
 Reporter:  dmsnell                   |       Owner:  zieladam
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  HTML API                  |     Version:  6.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by zieladam):

 * owner:  (none) => zieladam
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55675" 55675]:
 {{{
 #!CommitTicketReference repository="" revision="55675"
 HTML API: Fix a case where updates are overlooked when seeking to earlier
 locations.

 This retains the WP_HTML_Tag_Processor attribute updates applied before
 calling seek() – they were erroneously erased in some cases.

 Props dmsnell.
 Fixes #58160.
 }}}

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


More information about the wp-trac mailing list