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

WordPress Trac noreply at wordpress.org
Wed Jul 5 10:44:34 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 SergeyBiryukov):

 In [changeset:"56137" 56137]:
 {{{
 #!CommitTicketReference repository="" revision="56137"
 General: Compare values as strings in `WP_List_Util::filter()` and
 `::sort_callback()`.

 This aims to preserve backward compatibility for code relying on type
 juggling when using the `wp_list_filter()` function, e.g. comparing a
 numeric string to an integer.

 Follow-up to [55908].

 Props azaozz, jeremyfelt, david.binda.
 See #57839.
 }}}

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


More information about the wp-trac mailing list