Changeset 47122 for trunk/tests/phpunit/tests/general/paginateLinks.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/paginateLinks.php
r46612 r47122 135 135 function test_paginate_links_base_value() { 136 136 137 // Current page: 2 137 // Current page: 2. 138 138 $links = paginate_links( 139 139 array( … … 160 160 $document->preserveWhiteSpace = false; 161 161 162 // The first two links should link to page 1 162 // The first two links should link to page 1. 163 163 foreach ( $expected_attributes as $link_idx => $attributes ) { 164 164 … … 175 175 } 176 176 177 // Current page: 1 177 // Current page: 1. 178 178 $links = paginate_links( 179 179 array( … … 341 341 */ 342 342 public function test_custom_base_query_arg_should_be_stripped_from_current_url_before_generating_pag_links() { 343 // Fake the current URL: example.com?foo 343 // Fake the current URL: example.com?foo. 344 344 $request_uri = $_SERVER['REQUEST_URI']; 345 345 $_SERVER['REQUEST_URI'] = add_query_arg( 'foo', '', $request_uri );
Note: See TracChangeset
for help on using the changeset viewer.