Changes in branches/3.1/wp-includes/post.php [17430:17519]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/post.php
r17430 r17519 986 986 if ( $args->has_archive ) { 987 987 $archive_slug = $args->has_archive === true ? $args->rewrite['slug'] : $args->has_archive; 988 if ( $args->rewrite['with_front'] ) 989 $archive_slug = substr( $wp_rewrite->front, 1 ) . $archive_slug; 990 else 991 $archive_slug = $wp_rewrite->root . $archive_slug; 992 988 993 $wp_rewrite->add_rule( "{$archive_slug}/?$", "index.php?post_type=$post_type", 'top' ); 989 994 if ( $args->rewrite['feeds'] && $wp_rewrite->feeds ) {
Note: See TracChangeset
for help on using the changeset viewer.