Ticket #56617: 56617.diff
File 56617.diff, 572 bytes (added by , 2 years ago) |
---|
-
src/wp-includes/blocks/template-part.php
189 189 * @return array Array containing the block variation objects. 190 190 */ 191 191 function build_template_part_block_instance_variations() { 192 // Block themes are unavailable during installation. 193 if ( wp_installing() ) { 194 return; 195 } 196 192 197 $variations = array(); 193 198 $template_parts = get_block_templates( 194 199 array(