Opened 10 years ago
Closed 10 years ago
#31309 closed enhancement (fixed)
Unused parameters and variables in wp-admin/includes/template.php
Reported by: | ipm-frommen | Owned by: | SergeyBiryukov |
---|---|---|---|
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_user
variable iniframe_header
function;
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
$default
was introduced in [6588], the function was renamed towp_popular_terms_checklist()
in [6713].$limit_styles
was introduced in [9141]. Unused since [18577].$current_user
was introduced in [16882]. Unused since [24187].I think we can rename
$limit_styles
and remove$current_user
, but I'd like to keep the context of$default
in case we decide to implement it later.