Changeset 42343 for trunk/tests/phpunit/tests/canonical/paged.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/canonical/paged.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/canonical/paged.php
r35242 r42343 13 13 $next = '<!--nextpage-->'; 14 14 15 $post_id = self::factory()->post->create( array( 16 'post_status' => 'publish', 17 'post_content' => "{$para}{$next}{$para}{$next}{$para}" 18 ) ); 15 $post_id = self::factory()->post->create( 16 array( 17 'post_status' => 'publish', 18 'post_content' => "{$para}{$next}{$para}{$next}{$para}", 19 ) 20 ); 19 21 20 $link = parse_url( get_permalink( $post_id ), PHP_URL_PATH );22 $link = parse_url( get_permalink( $post_id ), PHP_URL_PATH ); 21 23 $paged = $link . '4/'; 22 24
Note: See TracChangeset
for help on using the changeset viewer.