@@ -583,7 +583,7 @@ discard block  | 
                                                    ||
| 583 | 583 | * Only enqueue block assets when needed.  | 
                                                        
| 584 | 584 | *  | 
                                                        
| 585 | 585 | * @param string $type Slug of the block.  | 
                                                        
| 586 | - * @param array $script_dependencies Script dependencies. Will be merged with automatically  | 
                                                        |
| 586 | + * @param string[] $script_dependencies Script dependencies. Will be merged with automatically  | 
                                                        |
| 587 | 587 | * detected script dependencies from the webpack build.  | 
                                                        
| 588 | 588 | *  | 
                                                        
| 589 | 589 | * @return void  | 
                                                        
@@ -837,7 +837,7 @@ discard block  | 
                                                    ||
| 837 | 837 | *  | 
                                                        
| 838 | 838 | * @param string $slug Block slug.  | 
                                                        
| 839 | 839 | * @param array $attr Block attributes.  | 
                                                        
| 840 | - * @param array $extra Potential extra classes you may want to provide.  | 
                                                        |
| 840 | + * @param string[] $extra Potential extra classes you may want to provide.  | 
                                                        |
| 841 | 841 | *  | 
                                                        
| 842 | 842 | * @return string $classes List of CSS classes for a block.  | 
                                                        
| 843 | 843 | */  | 
                                                        
@@ -934,10 +934,10 @@ discard block  | 
                                                    ||
| 934 | 934 | * @since 8.3.0  | 
                                                        
| 935 | 935 | *  | 
                                                        
| 936 | 936 | * @param string $url URL saved as an attribute in block.  | 
                                                        
| 937 | - * @param array $allowed Array of allowed hosts for that block, or regexes to check against.  | 
                                                        |
| 937 | + * @param string[] $allowed Array of allowed hosts for that block, or regexes to check against.  | 
                                                        |
| 938 | 938 | * @param bool $is_regex Array of regexes matching the URL that could be used in block.  | 
                                                        
| 939 | 939 | *  | 
                                                        
| 940 | - * @return bool|string  | 
                                                        |
| 940 | + * @return false|string  | 
                                                        |
| 941 | 941 | */  | 
                                                        
| 942 | 942 |  	public static function validate_block_embed_url( $url, $allowed = array(), $is_regex = false ) { | 
                                                        
| 943 | 943 | if (  | 
                                                        
@@ -253,6 +253,4 @@  | 
                                                    ||
| 253 | 253 | esc_attr( $html_id ),  | 
                                                        
| 254 | 254 | ! empty( $submit_button_classes ) ? esc_attr( $submit_button_classes ) : 'wp-block-button__link',  | 
                                                        
| 255 | 255 | esc_js( $url ),  | 
                                                        
| 256 | - wp_kses_post( $submit_button_text )  | 
                                                        |
| 257 | - );  | 
                                                        |
| 258 | -}  | 
                                                        |
| 256 | + wp_kses_post( $submit_button_text  | 
                                                        |
| 259 | 257 | \ No newline at end of file  |