Make WordPress Core

Changeset 5082 for trunk/xmlrpc.php


Ignore:
Timestamp:
03/22/2007 08:52:29 PM (18 years ago)
Author:
ryan
Message:

More int casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r5074 r5082  
    362362        // Items not escaped here will be escaped in editPost.
    363363        $blog_id    = $args[0];
    364         $page_id    = $this->escape($args[1]);
     364        $page_id    = $this->escape((int) $args[1]);
    365365        $username   = $this->escape($args[2]);
    366366        $password   = $this->escape($args[3]);
     
    823823        $this->escape($args);
    824824
    825       $post_ID     = $args[1];
     825      $post_ID     = (int) $args[1];
    826826      $user_login  = $args[2];
    827827      $user_pass   = $args[3];
     
    10651065        $this->escape($args);
    10661066
    1067       $post_ID     = $args[0];
     1067      $post_ID     = (int) $args[0];
    10681068      $user_login  = $args[1];
    10691069      $user_pass   = $args[2];
Note: See TracChangeset for help on using the changeset viewer.