[wp-trac] [WordPress Trac] #53359: Coding Standards fixes for WP 5.9

WordPress Trac noreply at wordpress.org
Thu Dec 9 15:31:03 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"52350" 52350]:
 {{{
 #!CommitTicketReference repository="" revision="52350"
 Coding Standards: Remove a trailing comma from a `compact()` call in
 `_wp_customize_include()`.

 This fixes a `Trailing comma's are not allowed in function calls in PHP
 7.2 or earlier` error in the PHP compatibility check.

 Follow-up to [52348].

 See #53359.
 }}}

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


More information about the wp-trac mailing list