Skip to content

Commit aafa3a6

Browse files
authored
Merge pull request google#10339 from google/bug/debug-block-registration-warning
Pass full metadata to block registration.
2 parents eed1884 + 746dafc commit aafa3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Modules/Sign_In_With_Google.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ protected function setup_assets() {
308308
),
309309
);
310310

311-
if ( Sign_In_With_Google_Block::can_register() ) {
311+
if ( Sign_In_With_Google_Block::can_register() && $this->is_connected() ) {
312312
$assets[] = new Script(
313313
'blocks-sign-in-with-google',
314314
array(

0 commit comments

Comments
 (0)