Make WordPress Core


Ignore:
Timestamp:
03/03/2025 06:06:16 PM (21 months ago)
Author:
joemcgill
Message:

Editor: Update packages for 6.8 Beta 1.

Syncs @wordpress/* packages to the 'latest' npm tag.

Props mamaduka, joemcgill, desrosj.
See #62887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/template-part.php

    r58553 r59906  
    7171                                $block_template = get_block_file_template( $template_part_id, 'wp_template_part' );
    7272
    73                                 $content = $block_template->content;
     73                                if ( isset( $block_template->content ) ) {
     74                                        $content = $block_template->content;
     75                                }
    7476                                if ( isset( $block_template->area ) ) {
    7577                                        $area = $block_template->area;
Note: See TracChangeset for help on using the changeset viewer.