[wp-trac] [WordPress Trac] #46846: Tight comparisons and use of Yoda conditions are not consistent
WordPress Trac
noreply at wordpress.org
Tue Apr 9 11:30:29 UTC 2019
#46846: Tight comparisons and use of Yoda conditions are not consistent
------------------------------+------------------------------------
Reporter: subrataemfluence | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords: has-patch dev-feedback
Focuses: coding-standards |
------------------------------+------------------------------------
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!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46846>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list