Add access modifiers to methods/members in WP_HTTP_IXR_Client.

See #27881, #22234.


git-svn-id: https://develop.svn.wordpress.org/trunk@28512 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-19 05:50:19 +00:00
parent 0401ec1c9f
commit 9406ca3bb8

View File

@ -8,7 +8,7 @@
*/
class WP_HTTP_IXR_Client extends IXR_Client {
function __construct($server, $path = false, $port = false, $timeout = 15) {
public function __construct($server, $path = false, $port = false, $timeout = 15) {
if ( ! $path ) {
// Assume we have been given a URL instead
$bits = parse_url($server);
@ -21,7 +21,7 @@ class WP_HTTP_IXR_Client extends IXR_Client {
if ( ! $this->path ) {
$this->path = '/';
}
if ( ! empty( $bits['query'] ) ) {
$this->path .= '?' . $bits['query'];
}
@ -35,7 +35,7 @@ class WP_HTTP_IXR_Client extends IXR_Client {
$this->timeout = $timeout;
}
function query() {
public function query() {
$args = func_get_args();
$method = array_shift($args);
$request = new IXR_Request($method, $args);