From a5ac09517a095232876c1d98ba6a78648e15dae8 Mon Sep 17 00:00:00 2001 From: Berend de Jong Date: Mon, 4 Aug 2014 12:02:56 +0700 Subject: [PATCH] Following WP coding standards regarding spaces again --- social-connect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/social-connect.php b/social-connect.php index 2d71f20..6217f5a 100644 --- a/social-connect.php +++ b/social-connect.php @@ -218,8 +218,8 @@ function sc_social_connect_process_login( $is_ajax = false ) { update_user_meta( $user_id, $sc_provider_identity_key, $sc_provider_identity ); } - if(isset($sc_avatar) && $sc_avatar){ - update_user_meta($user_id, 'social_connect_twitter_avatar', $sc_avatar); + if( isset( $sc_avatar ) && $sc_avatar ){ + update_user_meta( $user_id, 'social_connect_twitter_avatar', $sc_avatar ); } } else { add_filter( 'wp_login_errors', 'sc_login_errors' );