[wp-trac] [WordPress Trac] #16349: return list of images actually being used in post

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 22 23:31:35 UTC 2011


#16349: return list of images actually being used in post
--------------------------------------+----------------------
 Reporter:  mcmasterp                 |       Owner:
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  General                   |     Version:  3.0.4
 Severity:  normal                    |  Resolution:  wontfix
 Keywords:  image, attachment, query  |
--------------------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * type:  enhancement => feature request
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 If you want to retrieve <img> tags in the post content, I suggest you use
 PHP's [http://www.php.net/manual/en/domdocument.construct.php DOM
 extension]. Or look at the various plugins that extract the first image
 from the post content.

 Either way, this is not something that should be part of WP core.

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


More information about the wp-trac mailing list