[wp-trac] [WordPress Trac] #21422: Micro-optimization in admin-footer.php
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 30 13:56:30 UTC 2012
#21422: Micro-optimization in admin-footer.php
-------------------------+-----------------------------
Reporter: TobiasBg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords: has-patch
-------------------------+-----------------------------
After some work (related to the admin bar) on admin-footer.php in wp-admin
a while ago ([18888], the latest change in the file), the file does some
unnecessary stuff, like an implode() on a one-item array, that's constant
and unchangable.
It's just minor, but still done on every page load in the Dashboard, so
let's just micro-optimize it away.
The attached patch removes that unnecessary implode() and two local
variables.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21422>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list