[wp-trac] [WordPress Trac] #59777: WP admin : Use Yoda condition

WordPress Trac noreply at wordpress.org
Tue Oct 31 16:40:53 UTC 2023


#59777: WP admin : Use Yoda condition
------------------------------+-----------------------------
 Reporter:  ashokrd2013       |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Administration    |    Version:  trunk
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 Use Yoda condition as per best practice documentation
 https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/php/#yoda-conditions in
 https://github.com/WordPress/WordPress/blob/master/wp-admin/link.php#L38 &
 https://github.com/WordPress/WordPress/blob/master/wp-admin/link.php#L59

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59777>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list