[wp-trac] [WordPress Trac] #24381: A little more abstraction in the WP_oEmbed class

WordPress Trac noreply at wordpress.org
Tue May 21 11:33:50 UTC 2013


#24381: A little more abstraction in the WP_oEmbed class
-------------------------+-----------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Embeds       |    Version:  2.9
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 The logic for determining the oEmbed provider for a given URL is contained
 within the `get_html()` method of the `WP_oEmbed` class.

 I'd like to be able to determine whether or not a given URL has a
 supported oEmbed provider. There's no method in the `WP_oEmbed` class to
 do this, and I've copied the logic from `get_html()` into my own function.

 Patch coming up shortly.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24381>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list