Make WordPress Core

Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks 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.


7 weeks ago
#1

  • Keywords has-patch added

#2 @SergeyBiryukov
7 weeks ago

  • Milestone changed from Awaiting Review to 6.6

#3 @SergeyBiryukov
7 weeks 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:


7 weeks ago
#4

Thanks for the PR! Merged in r58261.

Note: See TracTickets for help on using tickets.