Make WordPress Core

Changeset 2676


Ignore:
Timestamp:
06/30/2005 12:12:18 AM (19 years ago)
Author:
ryan
Message:

Don't escape image bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r2674 r2676  
    824824      // http://mycvs.org/archives/2004/06/30/file-upload-to-wordpress-in-ecto/
    825825
    826         $this->escape($args);
    827 
    828       $blog_ID     = $args[0];
    829       $user_login  = $args[1];
    830       $user_pass   = $args[2];
     826        global $wpdb;
     827       
     828      $blog_ID     = $wpdb->escape($args[0]);
     829      $user_login  = $wpdb->escape($args[1]);
     830        $user_pass   = $wpdb->escape($args[2]);
    831831      $data        = $args[3];
    832832
Note: See TracChangeset for help on using the changeset viewer.