Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 13 years ago

#211 closed enhancement (fixed)

MetaWeblog.newMediaObject support

Reported by: anonymousbugger's profile anonymousbugger Owned by: michel-v's profile michel v
Milestone: Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords:
Focuses: Cc:

Description

The attached patch implements the MetaWeblog.newMediaObject method. It performs many of the same sanity checks that upload.php does.

The patch will not allow a user to upload a duplicate file. I thought this was less hostile than overwriting data outright.

This patch does not verify the user has sufficient level to upload files.

This was tested using Ecto as the client.

--
Adam Keys <adam@…>
nee uberfunk on IRC

Attachments (1)

0000211-xmlrpc-newMediaObject.diff (3.6 KB) - added by anonymousbugger 18 years ago.

Download all attachments as: .zip

Change History (4)

#2 @michel v
19 years ago

  • Owner changed from anonymous to michel v
  • Resolution changed from 10 to 20
  • Status changed from new to closed

Fixed in the new XMLRPC support.

Note: See TracTickets for help on using tickets.