From 7078e18d82fc3b5e4ea6766ab3e3baca718f6219 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 23 Sep 2012 19:36:17 +0000 Subject: [PATCH] XML-RPC: Accept 'url', not 'website' in wp.editProfile. props maxcutler. see #18428. git-svn-id: http://core.svn.wordpress.org/trunk@21959 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index 44feadc09d..b2e6c450e7 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -2163,7 +2163,6 @@ class wp_xmlrpc_server extends IXR_Server { * - int $blog_id * - string $username * - string $password - * - int $user_id * - array $content_struct * It can optionally contain: * - 'first_name' @@ -2205,8 +2204,8 @@ class wp_xmlrpc_server extends IXR_Server { if ( isset( $content_struct['last_name'] ) ) $user_data['last_name'] = $content_struct['last_name']; - if ( isset( $content_struct['website'] ) ) - $user_data['user_url'] = $content_struct['website']; + if ( isset( $content_struct['url'] ) ) + $user_data['user_url'] = $content_struct['url']; if ( isset( $content_struct['display_name'] ) ) $user_data['display_name'] = $content_struct['display_name'];