[wp-trac] [WordPress Trac] #16349: return list of images actually being used in post
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 5 20:41:26 UTC 2012
#16349: return list of images actually being used in post
-----------------------------+----------------------
Reporter: mcmasterp | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 3.0.4
Severity: normal | Resolution: wontfix
Keywords: close |
-----------------------------+----------------------
Changes (by scribu):
* status: reopened => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Here's another argument pro plugin territory:
If it were in Core, users would expect it to be reliable, i.e. work with
any HTML you throw at it.
Other than using PHP's DOM library (which isn't always available, btw),
the only other alternative is regular expressions. And we all know how
reliable, readable and straightforward the code in wpautop() and kses is.
So, it would take a darn good use-case to convince people that it's worth
the effort. So far, I've only seen hand-wavy statements that amount to
"build it and they will come".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16349#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list