Make WordPress Core

Changeset 5570


Ignore:
Timestamp:
05/28/2007 05:12:56 AM (19 years ago)
Author:
markjaquith
Message:

Int cast. Props to Alexander Concha for the find, Joseph Scott for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r5547 r5570  
    535535                $password                               = $args[2];
    536536                $category                               = $args[3];
    537                 $max_results                    = $args[4];
     537                $max_results                    = (int) $args[4];
    538538
    539539                if(!$this->login_pass_ok($username, $password)) {
Note: See TracChangeset for help on using the changeset viewer.