Closed tylerdigital closed 4 years ago
Thanx for the PR; however, the check is correct.
The reason the check is written the way it is is so that the plugin will become a no-op when it's functionality is merged in WP core. In other words, in WP 5.5.0 there will be a function named wp_is_plugins_auto_update_enabled()
already defined, so this plugin will not do the include and the functionality is core will take over.
Oh I see, thank you for the clarification (sorry for the invalid ticket)
No problem, it was an understandable mistake. The inline comment on the test could be more explanatory :-)
It appears that the function got renamed in the functions.php file but didn't get updated in the main plugin file