[wp-trac] [WordPress Trac] #55683: Unused variables in WP_Site_Health::get_test_plugin_version
WordPress Trac
noreply at wordpress.org
Thu May 5 10:14:35 UTC 2022
#55683: Unused variables in WP_Site_Health::get_test_plugin_version
--------------------------+-----------------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 5.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55683>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list