[wp-trac] [WordPress Trac] #48337: Yoda condition fix in Rest API

WordPress Trac noreply at wordpress.org
Thu Oct 17 06:34:21 UTC 2019


#48337: Yoda condition fix in Rest API
-------------------------------------+-------------------------------------
 Reporter:  mukesh27                 |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  REST API                 |    Version:  trunk
 Severity:  normal                   |   Keywords:  good-first-bug has-
  Focuses:  rest-api, coding-        |  patch
  standards                          |
-------------------------------------+-------------------------------------
 When I checking #48335 ticket found below issue.

 Yoda condition in /wp-includes/rest-api/class-wp-rest-request.php as per
 https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/php/#yoda-conditions document

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


More information about the wp-trac mailing list