Merge pull request woocommerce/woocommerce-beta-tester#74 from woocommerce/fix/69

fix auto_update_plugin filter reference
This commit is contained in:
Ron Rennick 2020-09-25 11:25:35 -03:00 committed by GitHub
commit a9d5fa5dbc
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class WC_Beta_Tester {
);
add_filter( "plugin_action_links_{$this->plugin_name}", array( $this, 'plugin_action_links' ), 10, 1 );
add_filter( 'auto_update_plugin', 'auto_update_woocommerce', 100, 2 );
add_filter( 'auto_update_plugin', array( $this, 'auto_update_woocommerce' ), 100, 2 );
if ( 'stable' !== $this->get_settings()->channel ) {
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'api_check' ) );