#45918 closed defect (bug) (invalid)
Unused variable in src/wp-includes/update.php
Reported by: | imath | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 5.1 |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | Cc: |
Description
In wp_update_plugins()
$active is getting the active plugins but nowhere in the function this variable is used.
I suggest to simply remove the line.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
There's a
compact()
call later down that uses the variable:Not obvious at first sight and not so ideal, but it is what it is :-)