WordPress.org

Make WordPress Core

Changeset 5173


Ignore:
Timestamp:
04/03/07 07:11:13 (8 years ago)
Author:
ryan
Message:

Cast to int after escaping. Props Joseph Scott.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r5166 r5173  
    361361        // Items not escaped here will be escaped in editPost. 
    362362        $blog_id    = (int) $args[0]; 
    363         $page_id    = $this->escape((int) $args[1]); 
     363        $page_id    = (int) $this->escape($args[1]); 
    364364        $username   = $this->escape($args[2]); 
    365365        $password   = $this->escape($args[3]); 
Note: See TracChangeset for help on using the changeset viewer.