Ticket #29636: 29636.2.diff
| File 29636.2.diff, 813 bytes (added by , 12 years ago) |
|---|
-
tests/phpunit/tests/general/paginateLinks.php
185 185 * @ticket 29636 186 186 */ 187 187 function test_paginate_links_query_args() { 188 global $wp_rewrite; 189 $permalink_structure = $wp_rewrite->permalink_structure; 190 $wp_rewrite->set_permalink_structure( '' ); 191 188 192 add_filter( 'get_pagenum_link', array( $this, 'add_query_arg' ) ); 189 193 $links = paginate_links( array( 190 194 'current' => 2, … … 215 219 $href = $tag->attributes->getNamedItem( 'href' )->value; 216 220 $this->assertEquals( $expected_href, $href ); 217 221 } 222 223 $wp_rewrite->set_permalink_structure( $permalink_structure ); 218 224 } 219 225 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)