[wp-trac] [WordPress Trac] #50507: The modal window is blank depending on the URL

WordPress Trac noreply at wordpress.org
Wed Oct 5 13:33:37 UTC 2022


#50507: The modal window is blank depending on the URL
--------------------------------+-----------------------------
 Reporter:  madeinua            |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  External Libraries  |     Version:  5.4.2
 Severity:  minor               |  Resolution:  worksforme
 Keywords:  has-patch           |     Focuses:  ui, javascript
--------------------------------+-----------------------------
Changes (by desrosj):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Hi @madeinua,

 Sorry that this one took so long to receive a response.

 I'm able to reproduce the issue with the URL you shared. However, I think
 this is happening because the URL is incorrect. There are two `?`s in your
 URL. If you restructure the URL to use `&` for the two query vars, it
 works correctly.

 In my testing, both of these work:
 - `https://test.localhost/wp-admin/options-
 general.php?page=media&inlineId=modal_123#TB_inline`
 - `https://test.localhost/wp-admin/options-
 general.php#TB_inline?page=media&inlineId=modal_123`

 I'm going to close this out as a `worksforme`.

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


More information about the wp-trac mailing list