Changeset 53214
- Timestamp:
- 04/19/2022 12:37:53 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r53211 r53214 1398 1398 'status' => 'approve', 1399 1399 'no_found_rows' => false, 1400 'update_comment_meta_cache' => false, // We lazy-load comment meta for performance.1401 1400 ); 1402 1401 -
trunk/tests/phpunit/tests/blocks/renderCommentTemplate.php
r53172 r53214 68 68 $this->assertEquals( 69 69 array( 70 'orderby' => 'comment_date_gmt', 71 'order' => 'ASC', 72 'status' => 'approve', 73 'no_found_rows' => false, 74 'update_comment_meta_cache' => false, 75 'post_id' => self::$custom_post->ID, 76 'hierarchical' => 'threaded', 77 'number' => 5, 78 'paged' => 1, 70 'orderby' => 'comment_date_gmt', 71 'order' => 'ASC', 72 'status' => 'approve', 73 'no_found_rows' => false, 74 'post_id' => self::$custom_post->ID, 75 'hierarchical' => 'threaded', 76 'number' => 5, 77 'paged' => 1, 79 78 ), 80 79 build_comment_query_vars_from_block( $block ) … … 95 94 $this->assertEquals( 96 95 array( 97 'orderby' => 'comment_date_gmt', 98 'order' => 'ASC', 99 'status' => 'approve', 100 'no_found_rows' => false, 101 'update_comment_meta_cache' => false, 102 'hierarchical' => 'threaded', 103 'number' => 5, 104 'paged' => 1, 96 'orderby' => 'comment_date_gmt', 97 'order' => 'ASC', 98 'status' => 'approve', 99 'no_found_rows' => false, 100 'hierarchical' => 'threaded', 101 'number' => 5, 102 'paged' => 1, 105 103 ), 106 104 build_comment_query_vars_from_block( $block )
Note: See TracChangeset
for help on using the changeset viewer.