mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Embeds: In get_post_embed_html(), move the optional $post argument after the required $width and $height.
Props swissspidy. Fixes #34523. git-svn-id: https://develop.svn.wordpress.org/trunk@35472 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -184,7 +184,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_textarea( 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( 600, 400 ) ); ?></textarea>
|
||||
|
||||
<p class="wp-embed-share-description">
|
||||
<?php _e( 'Copy and paste this code into your site to embed' ); ?>
|
||||
|
||||
Reference in New Issue
Block a user