Make WordPress Core

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#61160 closed defect (bug) (fixed)

phpcs error in wp-includes > nav-menu.php line 461

Reported by: dhruvang21's profile dhruvang21 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Menus 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 #6514 on WordPress/wordpress-develop by dhruvang21.


3 weeks ago
#1

  • Keywords has-patch added

#2 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 6.6

#3 @SergeyBiryukov
3 weeks ago

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

In 58119:

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

Follow-up to [14248], [14285], [14878], [15008], [22235], [23897], [23941], [27150].

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

@SergeyBiryukov commented on PR #6514:


3 weeks ago
#4

Thanks for the PR! Merged in r58119.

Note: See TracTickets for help on using tickets.