Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#46834 closed defect (bug) (fixed)

Loose comparison should not be used

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


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 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.3

#2 @Presskopp
5 years ago

  • Keywords has-patch added

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