Opened 13 years ago
Closed 13 years ago
#20831 closed defect (bug) (fixed)
Remove unused variable from wp_update_themes()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
$update_request
is never used. See [15455].
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Because we do
$new_update->checked = $checked;
, indeed, this is not needed.Plugins does
$new_option->checked[ $file ] = $p['Version'];
but that is because $checked is not simply plugin => version, it is plugin => data. We should probably make these two functions behave exactly the same at some point, perhaps even merging them.