WordPress.org

Make WordPress Core

Changeset 15975


Ignore:
Timestamp:
10/26/10 14:43:20 (7 years ago)
Author:
westi
Message:

4th argument of wp.getOptions is optional so don't notice if it's not supplied.

File:
1 edited

Legend:

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

    r15690 r15975  
    13741374        $username   = $args[1]; 
    13751375        $password   = $args[2]; 
    1376         $options    = (array) $args[3]; 
     1376        $options    = isset( $args[3] ) ? (array) $args[3] : array(); 
    13771377 
    13781378        if ( !$user = $this->login($username, $password) ) 
Note: See TracChangeset for help on using the changeset viewer.