/**
* Prints the necessary markup for the embed sharing dialog.
*
* @since 4.4.0
*/
function print_embed_sharing_dialog() { if ( is_404() ) { return;
} $unique_suffix =
get_the_ID() . '-' .
wp_rand();
$share_tab_wordpress_id = 'wp-embed-share-tab-wordpress-' .
$unique_suffix;
$share_tab_html_id = 'wp-embed-share-tab-html-' .
$unique_suffix;
$description_wordpress_id = 'wp-embed-share-description-wordpress-' .
$unique_suffix;
$description_html_id = 'wp-embed-share-description-html-' .
$unique_suffix;
?>
<div class="wp-embed-share-dialog hidden" role="dialog" aria-label="<?php
esc_attr_e( 'Sharing options'
); ?>">
<div class="wp-embed-share-dialog-content">
<div class="wp-embed-share-dialog-text">
<ul class="wp-embed-share-tabs" role="tablist">
<li class="wp-embed-share-tab-button wp-embed-share-tab-button-wordpress" role="presentation">
<button type="button" role="tab" aria-controls="<?php
echo $share_tab_wordpress_id; ?>" aria-selected="true" tabindex="0"><?php
esc_html_e( 'WordPress Embed'
); ?></button>
</li>
<li class="wp-embed-share-tab-button wp-embed-share-tab-button-html" role="presentation">
<button type="button" role="tab" aria-controls="