[wp-trac] [WordPress Trac] #62427: HTML API: Next tag tag name query is case sensitive

WordPress Trac noreply at wordpress.org
Tue Nov 19 16:03:24 UTC 2024


#62427: HTML API: Next tag tag name query is case sensitive
--------------------------------------+-------------------------
 Reporter:  jonsurrell                |       Owner:  jonsurrell
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7.2
Component:  HTML API                  |     Version:  6.6
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by czapla):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59422" 59422]:
 {{{
 #!CommitTicketReference repository="" revision="59422"
 HTML API: Use case insensitive tag_name comparison in `::next_tag`.

 The HTML API `::next_tag` method now performs case-insensitive matching
 when searching for tags by name. For example, searching for 'DIV' will
 match both '<div>' and '<DIV>' tags.

 Props jonsurrell, dmsnell.
 Fixes #62427.
 }}}

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


More information about the wp-trac mailing list