[wp-trac] [WordPress Trac] #57839: Coding Standards fixes for WP 6.3

WordPress Trac noreply at wordpress.org
Fri Jun 30 23:49:48 UTC 2023


#57839: Coding Standards fixes for WP 6.3
--------------------------------------+-------------------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.3
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  coding-standards
--------------------------------------+-------------------------------

Comment (by azaozz):

 @SergeyBiryukov Yea, tseems [55908] introduced a regression in
 `WP_List_Util::filter()`. That function was doing loose comparison (no
 documentation about the types too), and now the way it works has changed.

 Wondering if this change "can get away with" casting to strings before
 comparing. Seems int is also a valid key and/or value type there too.

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


More information about the wp-trac mailing list