Correct two escaping functions used in `wp-includes/embed-template.php`.

See #32522

Built from https://develop.svn.wordpress.org/trunk@35086


git-svn-id: http://core.svn.wordpress.org/trunk@35051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2015-10-12 22:52:24 +00:00
parent 7cb0dcc9a6
commit 1a04fde012
2 changed files with 3 additions and 3 deletions

View File

@ -200,7 +200,7 @@ if ( have_posts() ) :
</p>
</div>
<div id="wp-embed-share-tab-html" class="wp-embed-share-tab" role="tabpanel" aria-labelledby="wp-embed-share-tab-button-html" aria-hidden="true">
<textarea class="wp-embed-share-input" tabindex="0" readonly><?php echo esc_attr( get_post_embed_html( null, 600, 400 ) ); ?></textarea>
<textarea class="wp-embed-share-input" tabindex="0" readonly><?php echo esc_textarea( get_post_embed_html( null, 600, 400 ) ); ?></textarea>
<p class="wp-embed-share-description">
<?php _e( 'Copy and paste this code into your site to embed' ); ?>
@ -247,7 +247,7 @@ else :
'<a href="%s" target="_top"><img src="%s" width="32" height="32" alt="" class="wp-embed-site-icon"/><span>%s</span></a>',
esc_url( home_url() ),
esc_url( $site_icon_url ),
esc_attr( get_bloginfo( 'name' ) )
esc_html( get_bloginfo( 'name' ) )
);
?>
</div>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35085';
$wp_version = '4.4-alpha-35086';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.