[wp-trac] [WordPress Trac] #46113: Incongruent returned value for wp_get_attachment_image_src

WordPress Trac noreply at wordpress.org
Fri Oct 11 10:30:19 UTC 2019


#46113: Incongruent returned value for wp_get_attachment_image_src
--------------------------+-----------------------------
 Reporter:  wido          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  2.5
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+-----------------------------

Comment (by wido):

 @joemcgill What adding a default value for it instead? This will make the
 function more predictable.
 False would be a good choice, it's the same default in `image_downsize`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46113#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list