Changeset 556984
- Timestamp:
- 06/12/2012 11:25:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-favicons/trunk/includes/client/class-xmlrpc.php
r555592 r556984 60 60 61 61 // see: http://php.net/manual/en/function.xmlrpc-encode-request.php 62 $request = xmlrpc_encode_request( 62 // note that this has to be installed! ( --with-xmlrpc ) 63 $request = \xmlrpc_encode_request( 63 64 $namespace . '.' . $method 64 65 , array($blogid, $usr, $pwd, … … 114 115 if (array_key_exists('body',$response)) 115 116 { 116 117 $return_content = xmlrpc_decode($response['body'], $charset); 117 118 if(is_array(xmlrpc_decode($response['body'], $charset))) 118 119 { 119 echo "Error:"; 120 $return_content = xmlrpc_decode($response['body'], $charset); 120 echo "Error:"; 121 121 print_r($return_content); 122 $return_content = $content; 122 123 } 123 else 124 elseif(trim($return_content) == '') 124 125 { 125 $return_content = xmlrpc_decode($response['body'], $charset);126 } 126 $return_content = $content; 127 } 127 128 } 128 129 else
Note: See TracChangeset
for help on using the changeset viewer.