diff --git a/lib/class-wp-json-server.php b/lib/class-wp-json-server.php
index <HASH>..<HASH> 100644
--- a/lib/class-wp-json-server.php
+++ b/lib/class-wp-json-server.php
@@ -56,7 +56,7 @@ class WP_JSON_Server {
 	 *
 	 * @var array
 	 */
-	private $endpoints = array();
+	protected $endpoints = array();
 
 	/**
 	 * Instantiate the server
Change private to protected

`private` visibility is banned in this codebase, as it interferes with
testing as well as making the class less usable by plugins.