Make WordPress Core


Ignore:
Timestamp:
07/02/2024 10:41:33 AM (23 months ago)
Author:
Bernhard Reiter
Message:

Block Hooks: Fix a number of multi-line comment openers.

Add the missing second asterisk to a number of multi-line comment openers, and remove a superfluous second asterisk from two others.

Follow-up to [58614].
Props mukesh27.
See #60854.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-template-utils.php

    r58614 r58615  
    618618
    619619    if ( 'wp_template_part' === $template->type && $has_hooked_blocks ) {
    620         /**
     620        /*
    621621         * In order for hooked blocks to be inserted at positions first_child and last_child in a template part,
    622622         * we need to wrap its content a mock template part block and traverse it.
     
    10231023            $attributes                     = ! empty( $existing_ignored_hooked_blocks ) ? array( 'metadata' => array( 'ignoredHookedBlocks' => json_decode( $existing_ignored_hooked_blocks, true ) ) ) : array();
    10241024
    1025             /**
     1025            /*
    10261026             * In order for hooked blocks to be inserted at positions first_child and last_child in a template part,
    10271027             * we need to wrap its content a mock template part block and traverse it.
Note: See TracChangeset for help on using the changeset viewer.