[wp-trac] [WordPress Trac] #27473: Thickbox width and height parameters are ignored when using TB_iframe
WordPress Trac
noreply at wordpress.org
Sat Jul 23 05:35:00 UTC 2016
#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: | Focuses: ui
----------------------------+------------------------------
Comment (by bynicolas):
Replying to [comment:13 jasonwcomes]:
> For some quirky reason rearranging the url parameters fixed my issue of
height and width being ignored with inline. Hope this helps.
> `<a href="#TB_inline?&inlineId=confirm-remove&height=150&width=225">`
I had this issue on the edit.php page too.
I found that using {{{ #TB_inline?args}}} was causing issues but using the
variation {{{ #TB_inline&args}}} fixed it.
basically, when using the ? (as suggested in the codex) the next parameter
after the question mark (the width in my case) was ignored. Height worked
perfectly.
I tried your notation and I'm surprised you had content into your modal
because if I put the inlineId after the ?, then that's what gets ignored.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27473#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list