[wp-trac] [WordPress Trac] #30602: Add provider_name as CSS class when using oEmbed

WordPress Trac noreply at wordpress.org
Fri Dec 5 00:58:36 UTC 2014


#30602: Add provider_name as CSS class when using oEmbed
-----------------------------+------------------------------
 Reporter:  cliffpaulick     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Embeds           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by Viper007Bond):

 Replying to [comment:2 cliffpaulick]:
 > Understood. Is there a filter you'd suggest using if I want to do it
 anyway?

 `oembed_dataparse` in source:/trunk/src/wp-includes/class-oembed.php

 Theoretically we could wrap the result in a `div` and give that a class
 but potentially that could break some things, especially if the oEmbed
 endpoint was returning plain text or something.

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


More information about the wp-trac mailing list