[wp-trac] [WordPress Trac] #10521: Schema error breaks XMLRPC image uploading

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 25 17:03:25 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:  dev-feedback
--------------------------+-------------------------------------------------

Comment(by leenewton):

 I had put a ticket in over on the
 [http://trac.mu.wordpress.org/ticket/1095 wpmu side] after I'd debugged
 this on our setup. Should have looked here first :) Anyway regarding
 setting the post_parent to 0 rather than -1; the problem I see here is wp
 installations with a lot of activity most likely have very many unattached
 images. The default behaviour is to query for all post_parents = -1 where
 the guid matches what's in the post_content for the post added after the
 image upload. If this was changed to 0, a great many posts would
 potentially be looped through.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10521#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list