From 1d561e1fa6b8f965e039dd18f7029d41296af240 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 27 Jan 2022 22:17:00 +0000 Subject: [PATCH] Media: Remove target blank attribute from media uploader edit links. This change removes a dispensable target blank attribute from Edit links displayed in the asynchronous file uploader. Follow-up to [22755]. Props kebbet, SergeyBiryukov. Fixes #54945. See #23432. Built from https://develop.svn.wordpress.org/trunk@52646 git-svn-id: http://core.svn.wordpress.org/trunk@52235 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/async-upload.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php index d152673f69..f0f6dd0070 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -74,7 +74,7 @@ if ( isset( $_REQUEST['attachment_id'] ) && (int) $_REQUEST['attachment_id'] && ' . _x( 'Edit', 'media item' ) . ''; + echo '' . _x( 'Edit', 'media item' ) . ''; } else { echo '' . _x( 'Success', 'media item' ) . ''; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 0191ac3057..5a0700a196 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52645'; +$wp_version = '6.0-alpha-52646'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.