Make WordPress Core

Opened 6 years ago

#46846 new defect (bug)

Tight comparisons and use of Yoda conditions are not consistent

Reported by: subrataemfluence's profile subrataemfluence Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch dev-feedback
Focuses: coding-standards Cc:

Description

In wp-includes/formatting.php, as I have seen comparisons and use of Yoda conditions are not consistent through out the file. I have made some changes and uploading a proposed patch here. Let me know if this helps!

Attachments (1)

46846.diff (6.0 KB) - added by subrataemfluence 6 years ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.