Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#49105 closed defect (bug) (fixed)

Code refactoring for WP Comment Post

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

Description

  1. missing third argument for in_array
  2. yoda checking

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

@dkarfa
7 years ago

#1 @SergeyBiryukov
7 years ago

  • Component General → Comments
  • Focuses coding-standards added
  • Milestone Awaiting Review → 5.4

#2 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.