Micro-optimization in admin-footer.php
|Reported by:||TobiasBg||Owned by:||nacin|
After some work (related to the admin bar) on admin-footer.php in wp-admin a while ago (, 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.
Change History (4)
comment:1 SergeyBiryukov — 21 months ago
- Component changed from General to Administration
- Keywords commit added
- Milestone changed from Awaiting Review to 3.5
- Severity changed from normal to trivial