[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
Tue Aug 23 17:28:10 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         |
------------------------------+------------------

Comment (by Jayjdk):

 Nice! Just to confirm; the patch from Sergey fixes the error

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


More information about the wp-trac mailing list