diff --git a/twitter/connect.php b/twitter/connect.php index 318d849..8889410 100644 --- a/twitter/connect.php +++ b/twitter/connect.php @@ -11,9 +11,7 @@ define('CONSUMER_SECRET', get_option('social_connect_twitter_consumer_secret')); define('OAUTH_CALLBACK', SOCIAL_CONNECT_PLUGIN_URL . '/twitter/callback.php'); -$twitter_enabled = get_option('social_connect_twitter_enabled'); - -if($twitter_enabled && CONSUMER_KEY != '' && CONSUMER_SECRET != '') { +if(CONSUMER_KEY != '' && CONSUMER_SECRET != '') { /* Build TwitterOAuth object with client credentials. */ $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET); diff --git a/ui.php b/ui.php index b3ab2c7..3818183 100644 --- a/ui.php +++ b/ui.php @@ -18,54 +18,55 @@ function sc_render_login_form_social_connect( $args = NULL ) { $yahoo_enabled = get_option( 'social_connect_yahoo_enabled', 1 ); $wordpress_enabled = get_option( 'social_connect_wordpress_enabled', 1 ); ?> -
- + +