mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
4th argument of wp.getOptions is optional so don't notice if it's not supplied.
git-svn-id: https://develop.svn.wordpress.org/trunk@15975 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1373,7 +1373,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$blog_id = (int) $args[0];
|
||||
$username = $args[1];
|
||||
$password = $args[2];
|
||||
$options = (array) $args[3];
|
||||
$options = isset( $args[3] ) ? (array) $args[3] : array();
|
||||
|
||||
if ( !$user = $this->login($username, $password) )
|
||||
return $this->error;
|
||||
|
||||
Reference in New Issue
Block a user