Automattic/jetpack

Shortcode Embeds: add embed_oembed_html filter to all shortcodes

开放

#1,571 创建于 2015年1月30日

 (8 条评论) (4 个反应) (0 位负责人)PHP (877 个派生)user submission
EnhancementGood For CommunityHacktoberfest[Feature] Shortcodes / Embeds[Pri] Low[Type] Good First Bug

仓库指标

星标
 (1,808 个星标)
PR 合并指标
 (平均合并 4天 5小时) (30 天内合并 645 个 PR)

描述

Hi,

I've noticed that the filter embed_oembed_html can not be counted on because as soon as Jetpack's Shortcode Embeds is activated, this filter is no longer there even if the new shortcode [youtube](or similar) is not used.

Please either add this filter like it was originally implemented in WP core -OR- please do not override the oembed that occurs when simply pasting a Youtube or other media host URL and limit yourself to the [youtube] and similar added shortcodes.

Hope that explanation was not too confusing ;)

Thanks!

贡献者指南