- Timestamp:
- 09/09/2023 09:26:01 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r56548 r56549 1663 1663 // 3rd page. 1664 1664 self::factory()->post->create(); 1665 $total_posts++;1666 $total_pages++;1665 ++$total_posts; 1666 ++$total_pages; 1667 1667 $request = new WP_REST_Request( 'GET', '/wp/v2/posts' ); 1668 1668 $request->set_param( 'page', 3 ); … … 2280 2280 $filter_count = 0; 2281 2281 $filter_content = static function() use ( &$filter_count ) { 2282 $filter_count++;2282 ++$filter_count; 2283 2283 return '<p>Filtered content.</p>'; 2284 2284 }; … … 2316 2316 $filter_count = 0; 2317 2317 $filter_content = static function() use ( &$filter_count ) { 2318 $filter_count++;2318 ++$filter_count; 2319 2319 return '<p>Filtered content.</p>'; 2320 2320 };
Note: See TracChangeset
for help on using the changeset viewer.