[wp-trac] [WordPress Trac] #18310: Attachments inserted with NULL value for GUID

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 20:31:48 UTC 2012


#18310: Attachments inserted with NULL value for GUID
--------------------------+------------------------------
 Reporter:  docfish       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by ericmann):

 New patch refreshes the existing one (setting the GUID if it wasn't
 previously set).  But it also throws an `isset()` check on `$file->guid`
 inside `attach_uploads()` to fix the existing errors.

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


More information about the wp-trac mailing list