--- a/wp/wp-admin/async-upload.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-admin/async-upload.php Tue Sep 27 16:37:53 2022 +0200
@@ -74,7 +74,7 @@
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
- echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
+ echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}