[wp-trac] [WordPress Trac] #18310: Attachments inserted with NULL value for GUID
WordPress Trac
noreply at wordpress.org
Wed Jul 10 06:13:17 UTC 2013
#18310: Attachments inserted with NULL value for GUID
--------------------------------------------------+---------------------
Reporter: docfish | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: XML-RPC | Version: 3.2.1
Severity: normal | Resolution: fixed
Keywords: has-patch mobile commit dev-feedback |
--------------------------------------------------+---------------------
Comment (by nacin):
The notice is for an empty delimiter. `isset( $guid )` is therefore not
sufficient; if it comes back as an empty string or the like, the strpos()
call will fail and emit a warning. Note, #23811 more or less fixes this
anyway.
I'm going to suggest a new ticket for wp_insert_attachment()... I'm
leaving a comment in #23811 as well.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18310#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list