Changeset 42784 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 03/05/2018 03:32:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r42343 r42784 91 91 if ( is_wp_error( $id ) ) { 92 92 echo '<div class="error-div error"> 93 < a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</a>93 <button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</button> 94 94 <strong>' . sprintf( __( '“%s” has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) . '</strong><br />' . 95 95 esc_html( $id->get_error_message() ) . '</div>';
Note: See TracChangeset
for help on using the changeset viewer.