Make WordPress Core

Changeset 28512


Ignore:
Timestamp:
05/19/2014 05:50:19 AM (11 years ago)
Author:
wonderboymusic
Message:

Add access modifiers to methods/members in WP_HTTP_IXR_Client.

See #27881, #22234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-http-ixr-client.php

    r27552 r28512  
    99class WP_HTTP_IXR_Client extends IXR_Client {
    1010
    11     function __construct($server, $path = false, $port = false, $timeout = 15) {
     11    public function __construct($server, $path = false, $port = false, $timeout = 15) {
    1212        if ( ! $path ) {
    1313            // Assume we have been given a URL instead
     
    2222                $this->path = '/';
    2323            }
    24                
     24
    2525            if ( ! empty( $bits['query'] ) ) {
    2626                $this->path .= '?' . $bits['query'];
     
    3636    }
    3737
    38     function query() {
     38    public function query() {
    3939        $args = func_get_args();
    4040        $method = array_shift($args);
Note: See TracChangeset for help on using the changeset viewer.