Apply [5570] to 2.2. fixes #4357

git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-29 02:50:37 +00:00
parent bd01e62afc
commit 14f5c0289c
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ class wp_xmlrpc_server extends IXR_Server {
$username = $args[1]; $username = $args[1];
$password = $args[2]; $password = $args[2];
$category = $args[3]; $category = $args[3];
$max_results = $args[4]; $max_results = (int) $args[4];
if(!$this->login_pass_ok($username, $password)) { if(!$this->login_pass_ok($username, $password)) {
return($this->error); return($this->error);