[wp-trac] [WordPress Trac] #18491: Calling wp_get_attachment_link with a non-existent ID throws PHP notice

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 6 22:01:01 UTC 2011


#18491: Calling wp_get_attachment_link with a non-existent ID throws PHP notice
------------------------------+------------------
 Reporter:  Jayjdk            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.3
Component:  Warnings/Notices  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------
Changes (by ethitter):

 * cc: ehitter@… (added)


Comment:

 Tested [attachment:18491_2.patch] and it works for me.

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


More information about the wp-trac mailing list