[wp-trac] [WordPress Trac] #54206: Use strict comparison for in_array

WordPress Trac noreply at wordpress.org
Tue Oct 5 16:51:30 UTC 2021


#54206: Use strict comparison for in_array
------------------------------+-----------------------------
 Reporter:  aristath          |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"51888" 51888]:
 {{{
 #!CommitTicketReference repository="" revision="51888"
 Coding Standards: Use strict type check for `in_array()` in
 `register_block_script_handle()`.

 Follow-up to [51501].

 Props aristath, sergeybiryukov.
 Fixes #54206. See #53359.
 }}}

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


More information about the wp-trac mailing list