[wp-trac] [WordPress Trac] #45886: Media modal .edit-attachment link opens in new tab rather than in modal

WordPress Trac noreply at wordpress.org
Sat Sep 5 12:12:37 UTC 2020


#45886: Media modal .edit-attachment link opens in new tab rather than in modal
-----------------------------+-----------------------------
 Reporter:  statelessstudio  |       Owner:  antpb
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Media            |     Version:  5.0.2
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript
-----------------------------+-----------------------------

Comment (by Mista-Flo):

 Hum, I'm not sure to understand the issue here.

 I'm currently running the last version on trunk. I am on Media Library
 grid, I click on a image to open the popup modal, I click on Edit image
 button and it loads the edit image modal properly. If I click on Edit more
 details link, I am redirected to the attachment edit page which seems
 normal.

 Then, in edit post page, if I add a media through the popup or the
 featured image, I can click on Edit image link and it loads the popup
 properly, I am not redirected anywhere.

 Did I miss some steps to reproduce?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45886#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list