WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18310, comment 5


Ignore:
Timestamp:
05/25/2012 01:20:31 AM (6 years ago)
Author:
iandunn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18310, comment 5

    initial v1  
    11Thanks for writing the patch Eric. I agree that a GUID should be generated if one isn't passed to ''wp_insert_attachment()'', but that doesn't solve the problem reported here by docfish [http://android.forums.wordpress.org/topic/xml-error-when-uploading-new-post?replies=19 and also on the Android app forums].
    22
    3 This line in ''attach_uploads()'' in ''wp-includes/class-wp-xmlrpc-server.php'' will still generate a PHP warning when $file->guid is empty because of the syntax error.
     3This line in ''attach_uploads()'' in ''wp-includes/class-wp-xmlrpc-server.php'' will still generate a PHP warning when $file->guid is empty because of the invalid paramater.
    44
    55{{{