Opened 11 years ago
Closed 11 years ago
#31309 closed enhancement (fixed)
Unused parameters and variables in wp-admin/includes/template.php
| Reported by: | ipm-frommen | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
Description
- mark unused parameters unused;
- remove unused globalization of
$current_uservariable iniframe_headerfunction;
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
$defaultwas introduced in [6588], the function was renamed towp_popular_terms_checklist()in [6713].$limit_styleswas introduced in [9141]. Unused since [18577].$current_userwas introduced in [16882]. Unused since [24187].I think we can rename
$limit_stylesand remove$current_user, but I'd like to keep the context of$defaultin case we decide to implement it later.