[wp-trac] [WordPress Trac] #31259: Replace array_shift() with current() where appropriate
WordPress Trac
noreply at wordpress.org
Thu Mar 19 03:55:41 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
-------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31829"]:
{{{
#!CommitTicketReference repository="" revision="31829"
Replace `array_shift()` with `reset()` where appropriate for performance.
Props SergeyBiryukov.
Fixes #31259.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31259#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list