Send to Editor doesn't work when WordPress is loaded in a frame.
|Reported by:||semicharm||Owned by:||andy|
|Severity:||minor||Keywords:||frames SendToEditor has-patch|
In wp-admin/upload.js: line 248
win = top;
win = parent;
It really wants the parent frame and should reference it directly instead of the top most frame, because it's wrong to assume that top will always be the parent.
The same also appears in wp-admin/inline-uploading.php: line 428
if (!win) win = top;
if (!win) win = parent;
and should be changed for the same reason.
Note: I only set it to minor because I don't think many use WordPress in a frame or have host that use frames for forwarding.