Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#49105 closed defect (bug) (fixed)

Code refactoring for WP Comment Post

Reported by: dkarfa's profile dkarfa Owned by: sergeybiryukov's profile 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 5 years ago.

Download all attachments as: .zip

Change History (3)

@dkarfa
5 years ago

#1 @SergeyBiryukov
5 years ago

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

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