Ticket #21682: rewrite.php.patch
File rewrite.php.patch, 741 bytes (added by , 13 years ago) |
---|
-
rewrite.php
615 615 * @access private 616 616 * @var array 617 617 */ 618 var $endpoints ;618 var $endpoints = array(); 619 619 620 620 /** 621 621 * Whether to write every mod_rewrite rule for WordPress into the .htaccess file. … … 1957 1957 * @access public 1958 1958 */ 1959 1959 function init() { 1960 $this->extra_rules = $this->non_wp_rules = $this->endpoints =array();1960 $this->extra_rules = $this->non_wp_rules = array(); 1961 1961 $this->permalink_structure = get_option('permalink_structure'); 1962 1962 $this->front = substr($this->permalink_structure, 0, strpos($this->permalink_structure, '%')); 1963 1963 $this->root = '';