[wp-trac] [WordPress Trac] #45810: JavaScript type comparison should not lead to a type coercion

WordPress Trac noreply at wordpress.org
Thu Jun 18 20:06:56 UTC 2020


#45810: JavaScript type comparison should not lead to a type coercion
-------------------------------+-------------------------------------------
 Reporter:  subrataemfluence   |       Owner:  SergeyBiryukov
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  5.5
Component:  Administration     |     Version:  5.0.2
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch 2nd-     |     Focuses:  javascript, coding-standards
  opinion                      |
-------------------------------+-------------------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48083" 48083]:
 {{{
 #!CommitTicketReference repository="" revision="48083"
 Coding Standards: Use strict comparison for JS fragment in `wp-admin
 /admin-header.php`.

 Props subrataemfluence.
 Fixes #45810.
 }}}

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


More information about the wp-trac mailing list