Don't escape image bits.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-06-30 00:12:18 +00:00
parent 3882320f61
commit c26724062a
1 changed files with 5 additions and 5 deletions

View File

@ -823,11 +823,11 @@ class wp_xmlrpc_server extends IXR_Server {
// adapted from a patch by Johann Richard // adapted from a patch by Johann Richard
// http://mycvs.org/archives/2004/06/30/file-upload-to-wordpress-in-ecto/ // http://mycvs.org/archives/2004/06/30/file-upload-to-wordpress-in-ecto/
$this->escape($args); global $wpdb;
$blog_ID = $args[0]; $blog_ID = $wpdb->escape($args[0]);
$user_login = $args[1]; $user_login = $wpdb->escape($args[1]);
$user_pass = $args[2]; $user_pass = $wpdb->escape($args[2]);
$data = $args[3]; $data = $args[3];
$name = $data['name']; $name = $data['name'];