diff --git a/includes/Modules/Sign_In_With_Google.php b/includes/Modules/Sign_In_With_Google.php index 012606e2bcd..fa2e0cc2a7d 100644 --- a/includes/Modules/Sign_In_With_Google.php +++ b/includes/Modules/Sign_In_With_Google.php @@ -340,7 +340,7 @@ private function render_signin_button() { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams( response ) - }); + } ); if ( res.ok && res.redirected ) { location.assign( res.url ); } @@ -352,6 +352,7 @@ private function render_signin_button() { google.accounts.id.initialize( { client_id: '', callback: handleCredentialResponse, + library_name: 'Site-Kit', } ); google.accounts.id.renderButton( parent, ); @@ -368,7 +369,7 @@ private function render_signin_button() { } )(); \n", esc_html__( 'End Sign in with Google button added by Site Kit', 'google-site-kit' ) ); + print( "\n\n" ); } /**