[wp-trac] [WordPress Trac] #24202: Self-explanatory argument values for new media functions

WordPress Trac noreply at wordpress.org
Fri Jul 12 19:49:08 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):

 [attachment:24202.9.diff] fixes just the phpdoc in
 `get_media_embedded_in_content()`

 [attachment:24202.10.diff] '''also''' adds a `$types` argument to
 get_media_embedded_in_content() that intersects with the static list of
 allowed types.

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


More information about the wp-trac mailing list