diff --git a/src/WordpressClient.php b/src/WordpressClient.php index fd6ac00..b4ef97f 100644 --- a/src/WordpressClient.php +++ b/src/WordpressClient.php @@ -14,8 +14,8 @@ class WordpressClient { - private $username; - private $password; + protected $username; + protected $password; private $endPoint; private $request; private $responseHeader = array(); @@ -879,7 +879,7 @@ protected function getRequest() return $this->request; } - private function sendRequest($method, $params) + protected function sendRequest($method, $params) { if (!$this->endPoint) { $this->error = "Invalid endpoint " . json_encode(array(