diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index e4ac939f4f..75ca351c20 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -458,6 +458,10 @@ add_action( 'embed_head', 'wp_no_robots' ); add_action( 'embed_head', 'rel_canonical' ); add_action( 'embed_head', 'locale_stylesheet' ); +add_action( 'embed_content_meta', 'print_embed_comments_button' ); +add_action( 'embed_content_meta', 'print_embed_sharing_button' ); + +add_action( 'embed_footer', 'print_embed_sharing_dialog' ); add_action( 'embed_footer', 'print_embed_scripts' ); add_action( 'embed_footer', 'wp_print_footer_scripts', 20 ); diff --git a/wp-includes/embed-functions.php b/wp-includes/embed-functions.php index 2ddc81842d..549ff9545c 100644 --- a/wp-includes/embed-functions.php +++ b/wp-includes/embed-functions.php @@ -954,3 +954,94 @@ function print_embed_scripts() { function _oembed_filter_feed_content( $content ) { return str_replace( '