[wp-trac] [WordPress Trac] #33959: Improve wp_get_attachment_thumb_file

WordPress Trac noreply at wordpress.org
Tue Sep 22 08:28:29 UTC 2015


#33959: Improve wp_get_attachment_thumb_file
-----------------------------+-----------------------------
 Reporter:  Rahe             |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Post Thumbnails  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Since we can retrieve an image thumbnail url it will be nice if we can get
 the path of this thumbnail too.

 Here is a patch allowing this. And improvements for the first parameter
 allowing it to be a WP_Post object.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33959>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list