[wp-trac] [WordPress Trac] #24202: Self-explanatory argument values for new media functions
WordPress Trac
noreply at wordpress.org
Fri Jul 12 20:25:34 UTC 2013
#24202: Self-explanatory argument values for new media functions
------------------------------------+--------------------
Reporter: SergeyBiryukov | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 3.6
Component: Media | Version: trunk
Severity: major | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+--------------------
Comment (by aaroncampbell):
I'm in favor of dropping `get_images_in_content()` and
`get_image_in_content()`. I don't see enough benefit from them to justify
the extra code.
If we do keep them I think we need to either drop support for caption or
process all shortcodes (I'm sure plenty of other shortcodes add images),
preferably the former. We also need to look at why it processes <a> tags
(maybe I'm missing something here, but it seems pointless...maybe it's
just leftover cruft from something that was PFUI specific).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24202#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list