Opened 3 years ago
Closed 3 years ago
#55683 closed defect (bug) (fixed)
Unused variables in WP_Site_Health::get_test_plugin_version
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | Site Health | Keywords: | commit has-patch |
Focuses: | Cc: |
Description
I have noticed, that the $plugins_have_updates
and $plugin_version
variables in WP_Site_Health::get_test_plugin_version
method are not being used, and have actually never been used since their introduction in r44986
IMHO, those should be removed in order to make the code more readable.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Agree with @davidbinda
Patch 55683.diff look good to me.
Let's move this ticket to
6.1
consideration and add thecommit
keyword.