In `media-template.php`, change a few `<a href="#" class="button">`s to `<button type="button" class="button" ...>`.

See #26550.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-05-09 06:07:25 +00:00
parent 4af6d6f305
commit 2251a28f1d
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

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