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

WordPress Trac noreply at wordpress.org
Thu Feb 20 22:27:40 UTC 2014


#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                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+------------------------------
Changes (by DrewAPicture):

 * keywords:  has-patch => has-patch needs-docs


Comment:

 Abstracting this seems logical, though I'm surprised we currently do a
 return false followed a filterable return.

 I guess an argument can be made that the "oembed_result" filter should
 apply if there's actually a result though.

 Also, might as well add hook docs while we're in there.

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


More information about the wp-trac mailing list