[wp-trac] [WordPress Trac] #30093: Codestyling and optimization

WordPress Trac noreply at wordpress.org
Sat Oct 25 17:53:43 UTC 2014


#30093: Codestyling and optimization
-------------------------+-----------------------------
 Reporter:  ipm-frommen  |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.1
Component:  Menus        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------
Changes (by nacin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 There's the same thing in another function here.

 I highly doubt that this do while(0) loop was done without good reason,
 originally. Curious when it was originally introduced in do_meta_boxes()
 what that reason was. I'd imagine multiple breaks.

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


More information about the wp-trac mailing list