[wp-trac] [WordPress Trac] #18975: [E_STRICT] menu.php at line 218
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 28 16:48:07 UTC 2011
#18975: [E_STRICT] menu.php at line 218
--------------------------------------+-----------------------
Reporter: arena | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.3
Component: Menus | Version: 3.3
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch |
--------------------------------------+-----------------------
Changes (by scribu):
* keywords: dev-feedback has-patch => dev-feedback needs-patch
Comment:
It's more efficient to use reset() and end() instead of array_shift() and
array_pop(), since we don't really use $var_by_ref afterwards.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18975#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list