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

WordPress Trac noreply at wordpress.org
Fri Oct 1 06:56:16 UTC 2021


#54206: Use strict comparison for in_array
--------------------------+-----------------------------
 Reporter:  aristath      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The `in_array` call in https://core.trac.wordpress.org/browser/trunk/src
 /wp-includes/blocks.php#L119 should be strict.

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


More information about the wp-trac mailing list