[wp-trac] [WordPress Trac] #23593: Add functions to extract the first image from content, [gallery] a post, or an arbitrary string

WordPress Trac noreply at wordpress.org
Tue Feb 26 16:17:44 UTC 2013


#23593: Add functions to extract the first image from content, [gallery] a post, or
an arbitrary string
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by danielbachhuber):

 Many themes dependent on Justin's plugin use `get_the_image()` in their
 template files. Asking everyone to change is a non-starter.

 Might I suggest `wp_get_the_image()`?

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


More information about the wp-trac mailing list