Bug fix from Josh @ elsewhere.org.
git-svn-id: https://develop.svn.wordpress.org/trunk@1146 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f852309b10
commit
c84f760347
@ -515,8 +515,8 @@ function timer_stop($display=0,$precision=3) { //if called like timer_stop(1), w
|
||||
|
||||
function weblog_ping($server = '', $path = '') {
|
||||
$f = new xmlrpcmsg('weblogUpdates.ping',
|
||||
array(new xmlrpcval(get_settings('blog_name'), 'string'),
|
||||
new xmlrpcval(get_settings('blog_url') ,'string')));
|
||||
array(new xmlrpcval(get_settings('blogname'), 'string'),
|
||||
new xmlrpcval(get_settings('siteurl') ,'string')));
|
||||
$c = new xmlrpc_client($path, $server, 80);
|
||||
$r = $c->send($f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user