summaryrefslogtreecommitdiffstats
path: root/wp-includes/class-IXR.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-02-05 15:34:44 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-02-05 15:34:44 +0000
commit7126981ee497950fa0f033e32a6a8d0c150a1a62 (patch)
tree5538391c2c9a74849dec555b8ffff648c5b171ca /wp-includes/class-IXR.php
parentbd36587b32db474bd99b5cfcb7e7a4315dae9ed0 (diff)
downloadwordpress-mu-7126981ee497950fa0f033e32a6a8d0c150a1a62.tar.gz
wordpress-mu-7126981ee497950fa0f033e32a6a8d0c150a1a62.tar.xz
wordpress-mu-7126981ee497950fa0f033e32a6a8d0c150a1a62.zip
Merge with WP 2.3.3
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1196 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/class-IXR.php')
-rw-r--r--wp-includes/class-IXR.php34
1 files changed, 17 insertions, 17 deletions
diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php
index a77f6c9..0016ac5 100644
--- a/wp-includes/class-IXR.php
+++ b/wp-includes/class-IXR.php
@@ -1,5 +1,5 @@
<?php
-/*
+/*
IXR - The Inutio XML-RPC Library - (c) Incutio Ltd 2002-2005
Version 1.7 (beta) - Simon Willison, 23rd May 2005
Site: http://scripts.incutio.com/xmlrpc/
@@ -47,7 +47,7 @@ class IXR_Value {
}
// If it is a normal PHP object convert it in to a struct
if (is_object($this->data)) {
-
+
$this->data = get_object_vars($this->data);
return 'struct';
}
@@ -254,7 +254,7 @@ class IXR_Message {
}
}
$this->_currentTagContents = '';
- }
+ }
}
@@ -379,7 +379,7 @@ EOD;
'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208',
'specVersion' => 1
),
- );
+ );
}
function getCapabilities($args) {
return $this->capabilities;
@@ -584,7 +584,7 @@ class IXR_Error {
</struct>
</value>
</fault>
-</methodResponse>
+</methodResponse>
EOD;
return $xml;
@@ -658,27 +658,27 @@ class IXR_IntrospectionServer extends IXR_Server {
'specVersion' => 1
);
$this->addCallback(
- 'system.methodSignature',
- 'this:methodSignature',
- array('array', 'string'),
+ 'system.methodSignature',
+ 'this:methodSignature',
+ array('array', 'string'),
'Returns an array describing the return type and required parameters of a method'
);
$this->addCallback(
- 'system.getCapabilities',
- 'this:getCapabilities',
- array('struct'),
+ 'system.getCapabilities',
+ 'this:getCapabilities',
+ array('struct'),
'Returns a struct describing the XML-RPC specifications supported by this server'
);
$this->addCallback(
- 'system.listMethods',
- 'this:listMethods',
- array('array'),
+ 'system.listMethods',
+ 'this:listMethods',
+ array('array'),
'Returns an array of available methods on this server'
);
$this->addCallback(
- 'system.methodHelp',
- 'this:methodHelp',
- array('string', 'string'),
+ 'system.methodHelp',
+ 'this:methodHelp',
+ array('string', 'string'),
'Returns a documentation string for the specified method'
);
}