Make WordPress Core

Ticket #21682: 21682.2.diff

File 21682.2.diff, 817 bytes (added by ninnypants, 9 years ago)

Regenerating patch from root

  • src/wp-includes/class-wp-rewrite.php

     
    254254         * @access private
    255255         * @var array
    256256         */
    257         var $endpoints;
     257        var $endpoints = array();
    258258
    259259        /**
    260260         * Whether to write every mod_rewrite rule for WordPress into the .htaccess file.
     
    18021802         * @access public
    18031803         */
    18041804        public function init() {
    1805                 $this->extra_rules = $this->non_wp_rules = $this->endpoints = array();
     1805                $this->extra_rules = $this->non_wp_rules = array();
    18061806                $this->permalink_structure = get_option('permalink_structure');
    18071807                $this->front = substr($this->permalink_structure, 0, strpos($this->permalink_structure, '%'));
    18081808                $this->root = '';