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

WordPress Trac noreply at wordpress.org
Wed Dec 18 18:39:17 UTC 2024


#62427: HTML API: Next tag tag name query is case sensitive
---------------------------------------------------+----------------------
 Reporter:  jonsurrell                             |       Owner:  desrosj
     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 dev-feedback  |     Focuses:
---------------------------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"59535" 59535]:
 {{{
 #!CommitTicketReference repository="" revision="59535"
 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.

 Reviewed by desrosj.
 Merges [59422] to the 6.7 branch.

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

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


More information about the wp-trac mailing list