Ticket #21682: 21682.2.diff
File 21682.2.diff, 817 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-rewrite.php
254 254 * @access private 255 255 * @var array 256 256 */ 257 var $endpoints ;257 var $endpoints = array(); 258 258 259 259 /** 260 260 * Whether to write every mod_rewrite rule for WordPress into the .htaccess file. … … 1802 1802 * @access public 1803 1803 */ 1804 1804 public function init() { 1805 $this->extra_rules = $this->non_wp_rules = $this->endpoints =array();1805 $this->extra_rules = $this->non_wp_rules = array(); 1806 1806 $this->permalink_structure = get_option('permalink_structure'); 1807 1807 $this->front = substr($this->permalink_structure, 0, strpos($this->permalink_structure, '%')); 1808 1808 $this->root = '';