From b5812cadca1d70335229d5c8a10a19d8f530d7ef Mon Sep 17 00:00:00 2001 From: Francisco Date: Fri, 19 Feb 2021 02:15:41 +0100 Subject: [PATCH] Updated Check of Social Login Change the way you check for the existance of WooCommerce Social Login --- woocommerce-simple-registration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-simple-registration.php b/woocommerce-simple-registration.php index bbca176..a08c8f4 100644 --- a/woocommerce-simple-registration.php +++ b/woocommerce-simple-registration.php @@ -88,7 +88,7 @@ public function __construct() { * @link http://www.woothemes.com/products/woocommerce-social-login/ * @since 1.3.0 */ - if( function_exists( 'init_woocommerce_social_login' ) ){ + if( is_plugin_active( 'woocommerce-social-login/woocommerce-social-login.php' ) ) { require_once( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'includes/wc-social-login.php' ); } }