[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1

WordPress Trac noreply at wordpress.org
Wed Jul 20 14:20:28 UTC 2022


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

Comment (by SergeyBiryukov):

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

 This fixes a PHP compatibility error in `wp_handle_comment_submission()`:

 * `Trailing comma's are not allowed in function calls in PHP 7.2 or
 earlier`

 Follow-up to [53729].

 See #55647, #56244.
 }}}

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


More information about the wp-trac mailing list