[wp-trac] [WordPress Trac] #31259: Replace array_shift() with current() where appropriate

WordPress Trac noreply at wordpress.org
Fri Mar 20 02:03:47 UTC 2015


#31259: Replace array_shift() with current() where appropriate
-------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov           |       Owner:  wonderboymusic
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.2
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"31842"]:
 {{{
 #!CommitTicketReference repository="" revision="31842"
 Bundled themes: After [31453], replace `current()` with `reset()`, which
 is guaranteed to be the first item.

 see #31259, #31260.
 }}}

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


More information about the wp-trac mailing list