[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
Sun Feb 24 02:01:39 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 johnbillion):

 Justin Tadlock has a plugin with 250,000+ downloads called Get The Image,
 and its main function is called `get_the_image()`. We should avoid
 introducing a function of the same name into core. Maybe
 `get_post_image()` (and the corresponding `post_image()`) instead?

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


More information about the wp-trac mailing list