Ticket #18428: wp.editProfile.bugfix.patch

File wp.editProfile.bugfix.patch, 905 bytes (added by maxcutler, 8 months ago)
  • wp-includes/class-wp-xmlrpc-server.php

     
    21752175         *  - int     $blog_id 
    21762176         *  - string  $username 
    21772177         *  - string  $password 
    2178          *  - int     $user_id 
    21792178         *  - array   $content_struct 
    21802179         *      It can optionally contain: 
    21812180         *      - 'first_name' 
     
    22172216                if ( isset( $content_struct['last_name'] ) ) 
    22182217                        $user_data['last_name'] = $content_struct['last_name']; 
    22192218 
    2220                 if ( isset( $content_struct['website'] ) ) 
    2221                         $user_data['user_url'] = $content_struct['website']; 
     2219                if ( isset( $content_struct['url'] ) ) 
     2220                        $user_data['user_url'] = $content_struct['url']; 
    22222221 
    22232222                if ( isset( $content_struct['display_name'] ) ) 
    22242223                        $user_data['display_name'] = $content_struct['display_name'];