Changeset 17519
- Timestamp:
- 03/10/2011 04:25:40 AM (14 years ago)
- Location:
- branches/3.1/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/link-template.php
r17228 r17519 848 848 if ( $post_type_obj->rewrite['with_front'] ) 849 849 $struct = $wp_rewrite->front . $struct; 850 else 851 $struct = $wp_rewrite->root . $struct; 850 852 $link = home_url( user_trailingslashit( $struct, 'post_type_archive' ) ); 851 853 } else { -
branches/3.1/wp-includes/post.php
r17515 r17519 988 988 if ( $args->rewrite['with_front'] ) 989 989 $archive_slug = substr( $wp_rewrite->front, 1 ) . $archive_slug; 990 else 991 $archive_slug = $wp_rewrite->root . $archive_slug; 990 992 991 993 $wp_rewrite->add_rule( "{$archive_slug}/?$", "index.php?post_type=$post_type", 'top' ); -
branches/3.1/wp-includes/rewrite.php
r17226 r17519 1858 1858 if ( $with_front ) 1859 1859 $struct = $this->front . $struct; 1860 else 1861 $struct = $this->root . $struct; 1860 1862 $this->extra_permastructs[$name] = array($struct, $ep_mask); 1861 1863 } -
branches/3.1/wp-includes/version.php
r17513 r17519 30 30 * @global int $wp_db_version 31 31 */ 32 $wp_db_version = 1751 0;32 $wp_db_version = 17516; 33 33 34 34 /**
Note: See TracChangeset
for help on using the changeset viewer.