#8220 closed defect (bug) (fixed)
Unused variables/variable typo's cleanup
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.7 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Patch removed variables which are not used by any function, and corrects a number of typo's
There is also an undefined variable which i have not touched:
register_taxonomy() refers to an undefined variable $term; It looks like it should be the slug to me, but i'm not entirely sure of it, So i've left it unchanged:
http://trac.wordpress.org/browser/trunk/wp-includes/taxonomy.php#L185
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #core by afercia. View the logs.
10 years ago
This ticket was mentioned in Slack in #polyglots by besnik_b. View the logs.
10 years ago
This ticket was mentioned in Slack in #core-i18n by ocean90. View the logs.
10 years ago
Note: See
TracTickets for help on using
tickets.
Few more notes:
$defaults[$avatar_default][1]doesnt exist, As far as i could tell, 'custom' shouldnt be passed to that function, instead, a URL should be, So i've assumed that branch was supposed to add the size arg to the url..