WordPress.org

Make WordPress Core

Opened 7 months ago

#46846 new defect (bug)

Tight comparisons and use of Yoda conditions are not consistent

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

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 7 months ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.