WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 months ago

#47422 new enhancement

Coding Standards: wp-admin/includes/ms.php

Reported by: davidbaumwald Owned by:
Milestone: 5.8 Priority: normal
Severity: minor Version: 5.3
Component: Networks and Sites Keywords: has-patch needs-refresh
Focuses: multisite, coding-standards Cc:

Description

Non-Yoda conditions, loose comparisons, loop/conditional assignments, unnecessary condition in wp-admin/includes/ms.php

Attachments (1)

47422.diff (5.6 KB) - added by davidbaumwald 2 years ago.
Patch

Download all attachments as: .zip

Change History (4)

@davidbaumwald
2 years ago

Patch

#1 @davidbaumwald
2 years ago

  • Keywords has-patch added

#2 @spacedmonkey
2 years ago

  • Component changed from Administration to Networks and Sites
  • Milestone changed from Awaiting Review to Future Release

#3 @SergeyBiryukov
2 months ago

  • Keywords needs-refresh added
  • Milestone changed from Future Release to 5.8

Thanks for the patch!

It looks like some of these issues were resolved in [47219], [47808], and [47848], but there are still 13 loose comparisons in the file at the moment. A refresh would be helpful :)

Note: See TracTickets for help on using tickets.