[wp-trac] [WordPress Trac] #3554: xmlrpc.php calls undefined sanitize_file() function

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 9 22:35:29 GMT 2007


#3554: xmlrpc.php calls undefined sanitize_file() function
---------------------+------------------------------------------------------
 Reporter:  dougal   |       Owner:  anonymous         
     Type:  defect   |      Status:  new               
 Priority:  normal   |   Milestone:  2.1               
Component:  XML-RPC  |     Version:  2.1               
 Severity:  normal   |    Keywords:  xmlrpc, formatting
---------------------+------------------------------------------------------
 The sanitize_file() function was proposed in ticket #3382, and it appears
 to exist in WPMU, but not in the main WP trunk. However, the current
 revision of xmlrpc.php (r4667) attempts to call this function in the
 mw_newMediaObject() method.

 This will cause the failure of attachment uploads via clients using XML-
 RPC.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3554>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list