diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-15 13:19:12 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-15 13:19:12 +0000 |
commit | 8752f7651d737da0dbe86065e708347a58b40d61 (patch) | |
tree | ac80c1eb849760d123d729ffb33fb8a9dc1742db /wp-includes/rewrite.php | |
parent | 982f28611561556403f1c1004ad41f3253205e0e (diff) | |
download | wordpress-mu-8752f7651d737da0dbe86065e708347a58b40d61.tar.gz wordpress-mu-8752f7651d737da0dbe86065e708347a58b40d61.tar.xz wordpress-mu-8752f7651d737da0dbe86065e708347a58b40d61.zip |
WP Merge to rev 4887
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@888 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/rewrite.php')
-rw-r--r-- | wp-includes/rewrite.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 2411787..a8af33a 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -148,6 +148,7 @@ function url_to_postid($url) { class WP_Rewrite {
var $permalink_structure;
+ var $use_trailing_slashes;
var $category_base;
var $category_structure;
var $author_base = 'author';
@@ -876,6 +877,7 @@ class WP_Rewrite { unset($this->search_structure);
unset($this->feed_structure);
unset($this->comment_feed_structure);
+ $this->use_trailing_slashes = ( substr($this->permalink_structure, -1, 1) == '/' ) ? true : false;
}
function set_permalink_structure($permalink_structure) {
|