[wp-trac] [WordPress Trac] #31309: Unused parameters and variables in wp-admin/includes/template.php
WordPress Trac
noreply at wordpress.org
Fri Feb 13 05:30:02 UTC 2015
#31309: Unused parameters and variables in wp-admin/includes/template.php
----------------------------+-----------------------
Reporter: ipm-frommen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
----------------------------+-----------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 4.2
Comment:
`$default` was introduced in [6588], the function was renamed to
`wp_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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31309#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list