- Timestamp:
- 09/12/2023 03:21:02 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/renderCommentTemplate.php
r56262 r56559 537 537 add_filter( 538 538 'render_block', 539 static function ( $block_content, $block ) use ( $parsed_comment_author_name_block ) {539 static function ( $block_content, $block ) use ( $parsed_comment_author_name_block ) { 540 540 /* 541 541 * Insert a Comment Author Name block (which requires `commentId` … … 592 592 add_filter( 'render_block', array( $render_block_callback, 'filter' ), 10, 3 ); 593 593 594 $render_block_data_callback = static function ( $parsed_block ) {594 $render_block_data_callback = static function ( $parsed_block ) { 595 595 // Add a Social Links block to a Comment Template block's inner blocks. 596 596 if ( 'core/comment-template' === $parsed_block['blockName'] ) {
Note: See TracChangeset
for help on using the changeset viewer.