What’s written on the subject.
Developers will normally have this plugin active to be able to teste on edge WooCommerce versions. If we are developing HPOS compatibility, we need to deactivate this plugin as it’s not declared as compatible.
]]>If WooCommerce is deactivated, the site goes down due to the beta tester plugin trying to access some of WooCommerce’s built in functions.
Ideally, the plugin should disable it self gracefully or pre-maturely exit any logic if WooCommerce is deactivated since it heavily relies on WooCommerce.
( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'auto_update_woocommerce' not found or invalid function name in /Users/marcoalmeida/Documents/Websites/_local/wordpress-testing/app/public/wp-includes/class-wp-hook.php on line 287
class-wc-beta-tester.php line 89 should be changed from:
add_filter( 'auto_update_plugin', 'auto_update_woocommerce', 100, 2 );
to:
add_filter( 'auto_update_plugin', array( $this, 'auto_update_woocommerce' ), 100, 2 );
Hi,
In WC_Beta_Tester->get_plugin_info()
which is hooked to ‘plugins_api’, the initial check returns false
if the request is not for WooCommerce:
// Check if this call API is for the right plugin
if ( ! isset( $response->slug ) || $response->slug != $this->config['slug'] ) {
return false;
}
This breaks 3rd party code hooked onto the same ‘plugins_api’ filter which has already fetched valid data. Could you change this to return the filtered data? So in this case it would be:
// Check if this call API is for the right plugin
if ( ! isset( $response->slug ) || $response->slug != $this->config['slug'] ) {
return $false;
}
Thanks!
]]>Switching between versions reports success but has no effect.
In updates “You have version 3.5.7 installed. Update to 3.6.0-rc.1”
Can I update to 3.6rc1 with WP-CLI? How?