mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Int cast. Props to Alexander Concha for the find, Joseph Scott for the patch.
git-svn-id: https://develop.svn.wordpress.org/trunk@5570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -534,7 +534,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$username = $args[1];
|
||||
$password = $args[2];
|
||||
$category = $args[3];
|
||||
$max_results = $args[4];
|
||||
$max_results = (int) $args[4];
|
||||
|
||||
if(!$this->login_pass_ok($username, $password)) {
|
||||
return($this->error);
|
||||
|
||||
Reference in New Issue
Block a user