Make WordPress Core

Ticket #60187: template-functions.php.diff

File template-functions.php.diff, 571 bytes (added by dartiss, 3 years ago)
  • wp-content/themes/twentytwentyone/inc/template-functions.php

    diff --git a/wp-content/themes/twentytwentyone/inc/template-functions.php b/wp-content/themes/twentytwentyone/inc/template-functions.php
    index 5c1ca0f1e116..4924773dc1c3 100644
    a b function twenty_twenty_one_print_first_instance_of_block( $block_name, $content  
    367367        // Loop blocks.
    368368        foreach ( $blocks as $block ) {
    369369
    370                 // Sanity check.
     370                // Confidence check.
    371371                if ( ! isset( $block['blockName'] ) ) {
    372372                        continue;
    373373                }