~canonical-sysadmins/wordpress/4.7

« back to all changes in this revision

Viewing changes to wp-includes/class-wp-http-ixr-client.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:04:26 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: nick.moffitt@canonical.com-20150115110426-5stm1p14cfnxrtme
New Upstream Version 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *
8
8
 */
9
9
class WP_HTTP_IXR_Client extends IXR_Client {
 
10
        public $scheme;
 
11
        /**
 
12
         * @var IXR_Error
 
13
         */
 
14
        public $error;
10
15
 
 
16
        /**
 
17
         * @param string $server
 
18
         * @param string|bool $path
 
19
         * @param int|bool $port
 
20
         * @param int $timeout
 
21
         */
11
22
        public function __construct($server, $path = false, $port = false, $timeout = 15) {
12
23
                if ( ! $path ) {
13
24
                        // Assume we have been given a URL instead