Index: src/wp-includes/class-wp-rewrite.php
===================================================================
--- src/wp-includes/class-wp-rewrite.php	(revision 35609)
+++ src/wp-includes/class-wp-rewrite.php	(working copy)
@@ -254,7 +254,7 @@
 	 * @access private
 	 * @var array
 	 */
-	var $endpoints;
+	var $endpoints = array();
 
 	/**
 	 * Whether to write every mod_rewrite rule for WordPress into the .htaccess file.
@@ -1802,7 +1802,7 @@
 	 * @access public
 	 */
 	public function init() {
-		$this->extra_rules = $this->non_wp_rules = $this->endpoints = array();
+		$this->extra_rules = $this->non_wp_rules = array();
 		$this->permalink_structure = get_option('permalink_structure');
 		$this->front = substr($this->permalink_structure, 0, strpos($this->permalink_structure, '%'));
 		$this->root = '';
