[wp-trac] [WordPress Trac] #44028: Conditional Statements are not meeting Yoda Conditions Coding Standards

WordPress Trac noreply at wordpress.org
Fri Jun 15 13:20:24 UTC 2018


#44028: Conditional Statements are not meeting Yoda Conditions Coding Standards
--------------------------+-----------------------------------------------
 Reporter:  seusmaniqbal  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:  administration, coding-standards
--------------------------+-----------------------------------------------
Changes (by netweb):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Welcome to Trac @seusmaniqbal, apologies for not seeing this ticket
 earlier.

 I'm going to also mark this ticket a duplicate, in #42885 an ongoing
 discussion regarding cores use of yoda conditions is taking place, once a
 decision has been reached then we will update the codebase with patches on
 that ticket.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44028#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list