WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 4 months ago

#46834 closed defect (bug) (fixed)

Loose comparison should not be used

Reported by: subrataemfluence Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.1
Component: Options, Meta APIs Keywords: has-patch
Focuses: coding-standards Cc:
PR Number:

Description

File name: /wp-admin/options-reading.php
Loose comparisons might be corrected in lines nos. 71 and 123.

Attachments (1)

46834.diff (1.0 KB) - added by subrataemfluence 8 months ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
8 months ago

  • Milestone changed from Awaiting Review to 5.3

#2 @Presskopp
7 months ago

  • Keywords has-patch added

#3 @SergeyBiryukov
4 months ago

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

In 45752:

Coding Standards: Use strict comparison in wp-admin/options-reading.php.

Props subrataemfluence.
Fixes #46834.

Note: See TracTickets for help on using tickets.