[wp-trac] [WordPress Trac] #63238: Removed `target="_blank"` from Browser Uploader Link

WordPress Trac noreply at wordpress.org
Fri Apr 4 16:23:49 UTC 2025


#63238: Removed `target="_blank"` from Browser Uploader Link
-------------------------------------+-------------------------------------
 Reporter:  dilipbheda               |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Media                    |    Version:
 Severity:  normal                   |   Keywords:  has-patch has-
  Focuses:  accessibility,           |  screenshots
  administration                     |
-------------------------------------+-------------------------------------
 While visiting the `wp-admin/media-new.php` page, I noticed that the
 **Browser Uploader** link included an unnecessary `target="_blank"`
 attribute.

 **Reason for Removal:**

 The **Browser Uploader** link does not navigate to a new page, it simply
 toggles the browser uploader section dynamically without reloading the
 page. Therefore, the `target="_blank"` attribute is redundant and should
 be removed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63238>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list