Media: Fix the template for the "Align" and "Link To" fields in the media modal when inserting an image from URL.

Props noisysocks, mukesh27.
Merges [49804] to the 5.6 branch.
Fixes #52065.

git-svn-id: https://develop.svn.wordpress.org/branches/5.6@49820 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-12-17 12:59:57 +00:00
parent 198b00639c
commit 81e5e8c93f

View File

@ -1020,7 +1020,7 @@ function wp_print_media_templates() {
?>
<span class="setting caption">
<label for="embed-image-settings-caption" class="name"><?php _e( 'Caption' ); ?></label>
<textarea id="embed-image-settings-caption" data-setting="caption" />
<textarea id="embed-image-settings-caption" data-setting="caption"></textarea>
</span>
<?php endif; ?>