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

WordPress Trac noreply at wordpress.org
Sun Oct 26 10:17:30 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
-------------------------+-----------------------------

Comment (by ipm-frommen):

 Hi Andrew,

 I'm not sure I interpreted your comment correctly.
 If you weren't asking for another diff (regarding the second do-while(0)
 loop, which I missed), I'm sorry - but here it is. :) See new attached
 file
 [[https://core.trac.wordpress.org/attachment/ticket/30093/30093-2.diff|30093-2.diff]].

 I also removed the (static) variable `$already_sorted` as there was no
 need for it (anymore?).

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


More information about the wp-trac mailing list