In media-template.php
, change a few <a href="#" class="button">
s to <button type="button" class="button" ...>
.
See #26550. git-svn-id: https://develop.svn.wordpress.org/trunk@32467 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f9fd563ec7
commit
5d69ee66dd
@ -203,7 +203,7 @@ function wp_print_media_templates() {
|
||||
<div class="upload-ui">
|
||||
<h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3>
|
||||
<p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p>
|
||||
<a href="#" class="browser button button-hero"><?php _e( 'Select Files' ); ?></a>
|
||||
<button type="button" class="browser button button-hero"><?php _e( 'Select Files' ); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="upload-inline-status"></div>
|
||||
@ -329,7 +329,7 @@ function wp_print_media_templates() {
|
||||
|
||||
<div class="attachment-actions">
|
||||
<# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #>
|
||||
<a class="button edit-attachment" href="#"><?php _e( 'Edit Image' ); ?></a>
|
||||
<button type="button" class="button edit-attachment"><?php _e( 'Edit Image' ); ?></button>
|
||||
<# } #>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user