Changeset 56896 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 10/12/2023 04:39:27 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r56845 r56896 780 780 */ 781 781 return function ( &$block, $parent_block = null, $prev = null ) use ( $hooked_blocks, $context ) { 782 _inject_theme_attribute_in_template_part_block( $block ); 782 if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) { 783 _inject_theme_attribute_in_template_part_block( $block ); 784 } 783 785 784 786 $markup = '';
Note: See TracChangeset
for help on using the changeset viewer.