Merge two similar strings.
props pavelevap. fixes #33643. git-svn-id: https://develop.svn.wordpress.org/trunk@33842 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f6ab99bc68
commit
cfff91526f
@ -89,7 +89,7 @@ $id = media_handle_upload( 'async-upload', $post_id );
|
||||
if ( is_wp_error($id) ) {
|
||||
echo '<div class="error-div error">
|
||||
<a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a>
|
||||
<strong>' . sprintf(__('“%s” has failed to upload due to an error'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
|
||||
<strong>' . sprintf(__('“%s” has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
|
||||
esc_html($id->get_error_message()) . '</div>';
|
||||
exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user