[wp-trac] [WordPress Trac] #31260: Replace array_shift() with current() in bundled themes
WordPress Trac
noreply at wordpress.org
Fri Mar 20 02:03:49 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
----------------------------+---------------------------
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/31260#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list