Make WordPress Core

Changeset 53730


Ignore:
Timestamp:
07/20/2022 02:20:13 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r53729 r53730  
    35973597                'comment_content',
    35983598                'comment_type',
    3599                 'comment_parent',
     3599                'comment_parent'
    36003600        );
    36013601
Note: See TracChangeset for help on using the changeset viewer.