Changeset 29355 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 08/02/2014 02:13:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r29206 r29355 87 87 $id = media_handle_upload( 'async-upload', $post_id ); 88 88 if ( is_wp_error($id) ) { 89 echo '<div class="error-div ">89 echo '<div class="error-div error"> 90 90 <a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a> 91 91 <strong>' . sprintf(__('“%s” has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
Note: See TracChangeset
for help on using the changeset viewer.