[wp-trac] [WordPress Trac] #31260: Replace array_shift() with current() in bundled themes

WordPress Trac noreply at wordpress.org
Fri Feb 13 17:51:24 UTC 2015


#31260: Replace array_shift() with current() in bundled themes
----------------------------+---------------------------
 Reporter:  SergeyBiryukov  |       Owner:  lancewillett
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+---------------------------
Changes (by lancewillett):

 * owner:   => lancewillett
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31453"]:
 {{{
 #!CommitTicketReference repository="" revision="31453"
 Bundled themes: replace `array_shift()` with `current()` for performance.

 Props SergeyBiryukov, fixes #31260.
 }}}

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


More information about the wp-trac mailing list