diff --git a/src/wp-admin/async-upload.php b/src/wp-admin/async-upload.php
index 864f2be654..fd7dfe22b3 100644
a
|
b
|
if ( is_wp_error( $id ) ) { |
116 | 116 | $message = sprintf( |
117 | 117 | '%s <strong>%s</strong><br />%s', |
118 | 118 | sprintf( |
119 | | '<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>', |
| 119 | '<a type="button" class="dismiss button-link">%s</a>', |
120 | 120 | __( 'Dismiss' ) |
121 | 121 | ), |
122 | 122 | sprintf( |
diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css
index 5eea3ee167..07d14a3ee3 100644
a
|
b
|
|
257 | 257 | min-height: 50px; |
258 | 258 | } |
259 | 259 | |
260 | | .media-item .error-div button.dismiss { |
| 260 | .media-item .error-div button.dismiss, |
| 261 | .media-item .error-div a.dismiss { |
261 | 262 | float: right; |
262 | 263 | margin: 0 10px 0 15px; |
263 | 264 | } |