Make WordPress Core

Opened 22 years ago

Closed 22 years ago

Last modified 17 years ago

#211 closed enhancement (fixed)

MetaWeblog.newMediaObject support

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

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 21 years ago.

Download all attachments as: .zip

Change History (4)

#2 @michel v
22 years ago

  • Owner changed from anonymous to michel v
  • Resolution 1020
  • Status newclosed

Fixed in the new XMLRPC support.

Note: See TracTickets for help on using tickets.