[wp-trac] [WordPress Trac] #11598: code improvements in wp_:dashboard_plugins_output()

WordPress Trac wp-trac at lists.automattic.com
Mon May 31 13:15:17 UTC 2010


#11598: code improvements in wp_:dashboard_plugins_output()
-------------------------+--------------------------------------------------
 Reporter:  hakre        |       Owner:             
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  3.1        
Component:  General      |     Version:  2.9        
 Severity:  normal       |    Keywords:  needs-patch
-------------------------+--------------------------------------------------

Comment(by hakre):

 Replying to [comment:3 dd32]:
 > Does that {{{ do {} while(false); }}} loop work? That will only ever run
 once from looking at the code.
 Yes/Yes: Yes, it does work. Second yes is clear I guess. Let me know if
 not.

 > Best to leave it as a {{{ while(true) { break;} }}}, Theres no need for
 the do syntax which is out of line with the rest of !WordPress

 Will adopt the patch accordingly to that feedback.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11598#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list