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

WordPress Trac noreply at wordpress.org
Fri Jun 19 05:06:50 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                      |
-------------------------------+-------------------------------------------

Comment (by subrataemfluence):

 Thank you @SergeyBiryukov
 Replying to [comment:4 SergeyBiryukov]:
 > 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:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list