[wp-trac] [WordPress Trac] #10521: Schema error breaks XMLRPC image uploading
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 30 20:18:52 UTC 2009
#10521: Schema error breaks XMLRPC image uploading
--------------------------+-------------------------------------------------
Reporter: Otto42 | Owner: josephscott
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: XML-RPC | Version: 2.8
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Comment(by Otto42):
Replying to [comment:2 Denis-de-Bernardy]:
> Why is it not trying to insert it using a post_parent of 0 instead?
That was my suggestion as well. Seems to me that zero would work okay.
You'd have to change xmlrpc.php. At a glance, I'd say to alter
mw_newMediaObject and attach_uploads to make them both use zero instead of
-1. Needs testing to be sure it doesn't interfere with anything else.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10521#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list