[wp-trac] [WordPress Trac] #27473: Thickbox width and height parameters are ignored when using TB_iframe

WordPress Trac noreply at wordpress.org
Tue Feb 20 23:06:28 UTC 2018


#27473: Thickbox width and height parameters are ignored when using TB_iframe
----------------------------+---------------------------------------------
 Reporter:  harmr           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:  needs-design    |     Focuses:  ui, javascript, administration
----------------------------+---------------------------------------------
Changes (by isalmeron):

 * keywords:   => needs-design
 * focuses:  ui => ui, javascript, administration


Comment:

 The issue is that tb_position is being defined by media_upload.js |
 theme.js | plugin-install.js
 My temporary solution is to wrap it into a variable inside tb_show(
 thickbox.js) so when called its calling the variable wrapper.

 This could be solved by either renaming functions in a way that they does
 not override each other or defining the proper scopes into files|classes.

 BTW I'm using WP 4.7.1 and the bug is still there.

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


More information about the wp-trac mailing list