WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

#49105 closed defect (bug) (fixed)

Code refactoring for WP Comment Post

Reported by: dkarfa Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch
Focuses: coding-standards Cc:

Description

  1. missing third argument for in_array
  2. yoda checking

Attachments (1)

49105.patch (569 bytes) - added by dkarfa 7 months ago.

Download all attachments as: .zip

Change History (3)

@dkarfa
7 months ago

#1 @SergeyBiryukov
7 months ago

  • Component changed from General to Comments
  • Focuses coding-standards added
  • Milestone changed from Awaiting Review to 5.4

#2 @SergeyBiryukov
7 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 47028:

Coding Standards: Use strict comparison in wp-comments-post.php.

Props dkarfa.
Fixes #49105.

Note: See TracTickets for help on using tickets.