Opened 11 years ago
Closed 11 years ago
#31309 closed enhancement (fixed)
Unused parameters and variables in wp-admin/includes/template.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | template | Cc: |
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.
$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.