[wp-trac] [WordPress Trac] #48340: Core refactor for WP Block Parser

WordPress Trac noreply at wordpress.org
Thu Oct 17 10:17:03 UTC 2019


#48340: Core refactor for WP Block Parser
--------------------------+-----------------------------
 Reporter:  dkarfa        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I found the count() inside a loop condition, but WPCS suggest to use that
 as this way, assign the return value to a variable and use the variable in
 the loop condition instead.

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


More information about the wp-trac mailing list