[wp-trac] [WordPress Trac] #11571: Provide easy way to return url of thumbnail image

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 28 20:56:28 UTC 2012


#11571: Provide easy way to return url of thumbnail image
------------------------------------------+-----------------------------
 Reporter:  braindrain                    |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Post Thumbnails               |     Version:  2.9
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch needs-testing gsoc  |
------------------------------------------+-----------------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing gsoc 3.4-early => has-patch needs-
     testing gsoc
 * milestone:  3.4 => Future Release


Comment:

 Let's punt this once more. Again, simple workaround exists.

 I noticed that get_the_post_thumbnail_src() would return the source, while
 the corresponding function wp_get_attachment_image_src() returns an array.
 This isn't very intuitive.

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


More information about the wp-trac mailing list