Changeset 16787
- Timestamp:
- 12/08/2010 07:02:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16768 r16787 986 986 } 987 987 if ( $args->rewrite['pages'] ) 988 $wp_rewrite->add_rule( "{$archive_slug}/ page/([0-9]{1,})/?$", "index.php?post_type=$post_type" . '&paged=$matches[1]', 'top' );988 $wp_rewrite->add_rule( "{$archive_slug}/{$wp_rewrite->pagination_base}/([0-9]{1,})/?$", "index.php?post_type=$post_type" . '&paged=$matches[1]', 'top' ); 989 989 } 990 990
Note: See TracChangeset
for help on using the changeset viewer.