mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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
This commit is contained in:
parent
c42200ec11
commit
7078e18d82
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user