WordPress.org

Make WordPress Core

Changeset 21959


Ignore:
Timestamp:
09/23/2012 07:36:17 PM (7 years ago)
Author:
nacin
Message:

XML-RPC: Accept 'url', not 'website' in wp.editProfile. props maxcutler. see #18428.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r21936 r21959  
    21642164     *  - string  $username
    21652165     *  - string  $password
    2166      *  - int     $user_id
    21672166     *  - array   $content_struct
    21682167     *      It can optionally contain:
     
    22062205            $user_data['last_name'] = $content_struct['last_name'];
    22072206
    2208         if ( isset( $content_struct['website'] ) )
    2209             $user_data['user_url'] = $content_struct['website'];
     2207        if ( isset( $content_struct['url'] ) )
     2208            $user_data['user_url'] = $content_struct['url'];
    22102209
    22112210        if ( isset( $content_struct['display_name'] ) )
Note: See TracChangeset for help on using the changeset viewer.