Make WordPress Core

Opened 2 years ago

Closed 2 years 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:


  1. missing third argument for in_array
  2. yoda checking

Attachments (1)

49105.patch (569 bytes) - added by dkarfa 2 years ago.

Download all attachments as: .zip

Change History (3)

2 years ago

#1 @SergeyBiryukov
2 years ago

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

#2 @SergeyBiryukov
2 years 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.