Ticket #3554 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

xmlrpc.php calls undefined sanitize_file() function

Reported by: dougal Assigned to: anonymous
Priority: normal Milestone: 2.1
Component: XML-RPC Version: 2.1
Severity: normal Keywords: xmlrpc, formatting
Cc:

Description

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.

Change History

01/09/07 22:53:17 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4710]) sanitize_file_name(). fixes #3382 #3554