[wp-trac] [WordPress Trac] #26675: Rewrite of get_media_embedded_in_content() function to produce expected results.

WordPress Trac noreply at wordpress.org
Fri Feb 27 16:11:02 UTC 2015


#26675: Rewrite of get_media_embedded_in_content() function to produce expected
results.
----------------------------------+------------------
 Reporter:  kopepasah             |       Owner:
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  4.2
Component:  Media                 |     Version:  3.6
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+------------------

Comment (by wonderboymusic):

 In [changeset:"31574"]:
 {{{
 #!CommitTicketReference repository="" revision="31574"
 Improve `get_media_embedded_in_content()` so that it returns the media it
 finds in the same order that it appears in the content.

 Adds unit test, updates another.

 Props kopepasah.
 See #26675.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26675#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list