mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
Oops. Remove some unwanted 1.6-isms.
git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4e88e96128
commit
e2a2039164
14
xmlrpc.php
14
xmlrpc.php
@ -185,12 +185,12 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$user_data = get_userdatabylogin($user_login);
|
||||
|
||||
$struct = array(
|
||||
'nickname' => $user_data->nickname,
|
||||
'nickname' => $user_data->user_nickname,
|
||||
'userid' => $user_data->ID,
|
||||
'url' => $user_data->user_url,
|
||||
'email' => $user_data->user_email,
|
||||
'lastname' => $user_data->last_name,
|
||||
'firstname' => $user_data->first_name
|
||||
'lastname' => $user_data->user_lastname,
|
||||
'firstname' => $user_data->user_firstname
|
||||
);
|
||||
|
||||
return $struct;
|
||||
@ -576,6 +576,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
logIO('O', "Posted ! ID: $post_ID");
|
||||
|
||||
// FIXME: do we pingback always? pingback($content, $post_ID);
|
||||
trackback_url_list($content_struct['mt_tb_ping_urls'],$post_ID);
|
||||
|
||||
return strval($post_ID);
|
||||
}
|
||||
|
||||
@ -657,6 +660,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
logIO('O',"(MW) Edited ! ID: $post_ID");
|
||||
|
||||
// FIXME: do we pingback always? pingback($content, $post_ID);
|
||||
trackback_url_list($content_struct['mt_tb_ping_urls'], $post_ID);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1311,4 +1317,4 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
$wp_xmlrpc_server = new wp_xmlrpc_server();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user