themehybrid / hybrid-core

Official repository for the Hybrid Core WordPress development framework.
GNU General Public License v2.0
687 stars 143 forks source link

Body class missing responsive embed class #170

Closed saas786 closed 5 years ago

saas786 commented 5 years ago

Hi @justintadlock,

https://github.com/justintadlock/hybrid-core/blob/master/src/functions-filters.php#L526

I added

add_theme_support( 'responsive-embeds' );

and I was not seeing the relevant body class

**.wp-embed-responsive**

and after some struggle I figured out that HC is not adding this conditional class. So can you please add this class like core does?.

https://github.com/WordPress/WordPress/blob/8947acbf9bfc0c8e751829b4e6942b40dd4cc364/wp-includes/post-template.php#L764

Thanks, Syed