From 75fdbf0f8795747c5e711b4b55e36d98ff5315ed Mon Sep 17 00:00:00 2001
From: Ryan Boren <ryan@git.wordpress.org>
Date: Tue, 3 Apr 2007 07:11:13 +0000
Subject: [PATCH] Cast to int after escaping. Props Joseph Scott.

git-svn-id: https://develop.svn.wordpress.org/trunk@5173 602fd350-edb4-49c9-b593-d223f7449a82
---
 xmlrpc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmlrpc.php b/xmlrpc.php
index d691b8af12..7f4d021c7b 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -360,7 +360,7 @@ class wp_xmlrpc_server extends IXR_Server {
 	function wp_editPage($args) {
 		// Items not escaped here will be escaped in editPost.
 		$blog_id	= (int) $args[0];
-		$page_id	= $this->escape((int) $args[1]);
+		$page_id	= (int) $this->escape($args[1]);
 		$username	= $this->escape($args[2]);
 		$password	= $this->escape($args[3]);
 		$content	= $args[4];