Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3388 closed enhancement (fixed)

xmlrpc.php : add pre-upload handler, handle upload, use return of wp_new_comment()

Reported by: donncha Owned by: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc:

Description

Patch to use the new uploader's wp_handle_upload when uploading files through xmlrpc
Adds a pre_upload filter to check uploaded files
Use return value of wp_new_comment()

Attachments (1)

patch.txt (1.1 KB) - added by donncha 6 years ago.

Download all attachments as: .zip

Change History (4)

donncha6 years ago

comment:1   ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4526]) Upload filters in xmlrpc. fixes #3388

For future reference, single quotes should be used rather than double quotes. ;)

  • Milestone set to 2.1
  • Version set to 2.1
Note: See TracTickets for help on using tickets.