Make WordPress Core

Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#61315 closed defect (bug) (fixed)

phpcs error in wp-includes > user.php on line 1105 and 2016

Reported by: dhruvang21's profile dhruvang21 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: coding-standards Cc:

Description

Loose comparisons are not allowed. Expected: "==="; Found: "=="phpcs

Change History (4)

This ticket was mentioned in PR #6667 on WordPress/wordpress-develop by @dhruvang21.


6 months ago
#1

  • Keywords has-patch added

#2 @SergeyBiryukov
6 months ago

  • Milestone changed from Awaiting Review to 6.6

#3 @SergeyBiryukov
6 months ago

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

In 58261:

Coding Standards: Use strict comparison in wp-includes/user.php.

Follow-up to [2895], [3481], [5627], mu:1581, mu:1612, [12603], [18504], [33771], [41653], [41654], [45708], [51399].

Props dhruvang21, aristath, poena, afercia, SergeyBiryukov.
Fixes #61315. See #60700.

@SergeyBiryukov commented on PR #6667:


6 months ago
#4

Thanks for the PR! Merged in r58261.

Note: See TracTickets for help on using tickets.