Make WordPress Core


Ignore:
Timestamp:
02/15/2007 07:07:12 AM (17 years ago)
Author:
markjaquith
Message:

Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r4551 r4886  
    149149class WP_Rewrite {
    150150    var $permalink_structure;
     151    var $use_trailing_slashes;
    151152    var $category_base;
    152153    var $category_structure;
     
    877878        unset($this->feed_structure);
    878879        unset($this->comment_feed_structure);
     880        $this->use_trailing_slashes = ( substr($this->permalink_structure, -1, 1) == '/' ) ? true : false;
    879881    }
    880882
Note: See TracChangeset for help on using the changeset viewer.