Changeset 58615
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r58614 r58615 618 618 619 619 if ( 'wp_template_part' === $template->type && $has_hooked_blocks ) { 620 /* *620 /* 621 621 * In order for hooked blocks to be inserted at positions first_child and last_child in a template part, 622 622 * we need to wrap its content a mock template part block and traverse it. … … 1023 1023 $attributes = ! empty( $existing_ignored_hooked_blocks ) ? array( 'metadata' => array( 'ignoredHookedBlocks' => json_decode( $existing_ignored_hooked_blocks, true ) ) ) : array(); 1024 1024 1025 /* *1025 /* 1026 1026 * In order for hooked blocks to be inserted at positions first_child and last_child in a template part, 1027 1027 * we need to wrap its content a mock template part block and traverse it. -
trunk/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php
r58614 r58615 218 218 } 219 219 220 /* 220 /** 221 221 * @ticket 60506 222 222 * @ticket 60854 … … 243 243 } 244 244 245 /* 245 /** 246 246 * @ticket 60506 247 247 * @ticket 60854 -
trunk/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromPost.php
r58614 r58615 112 112 } 113 113 114 /* 114 /** 115 115 * @ticket 59646 116 116 * @ticket 60506 … … 134 134 } 135 135 136 /* 136 /** 137 137 * @ticket 59646 138 138 * @ticket 60506
Note: See TracChangeset
for help on using the changeset viewer.