[wp-trac] [WordPress Trac] #58831: Coding Standards fixes for WP 6.4

WordPress Trac noreply at wordpress.org
Sat Aug 5 14:01:11 UTC 2023


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

Comment (by SergeyBiryukov):

 In [changeset:"56360" 56360]:
 {{{
 #!CommitTicketReference repository="" revision="56360"
 Coding Standards: Rewrite loose comparison in `wp_list_categories()`.

 A truthy check is more in line with similar checks elsewhere, including
 conditionals in the same exact code block.

 Follow-up to [10275], [34696].

 Props aristath, poena, afercia, SergeyBiryukov.
 See #58831.
 }}}

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


More information about the wp-trac mailing list