Opened 18 months ago
Closed 13 months ago
#19498 closed defect (bug) (fixed)
Press this add image from URL bugs
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3.2 |
| Component: | Press This | Version: | 3.3 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
Two bugs
- Add image from url form works only once. Click "Add From URL", insert an image and try it again, the form is not displayed.
- Click "Add From URL" then click cancel, then form is appended to the body and is visible.
Attachments (3)
Change History (13)
- Priority changed from normal to highest omg bbq
- Severity changed from major to critical
19498-2.patch reverts back to cloning #photo-add-url-div.
- Milestone changed from 3.3 to 3.3.1
- Priority changed from highest omg bbq to normal
- Severity changed from critical to major
Replying to azaozz:
19498-2.patch reverts back to cloning #photo-add-url-div.
Anyone know the history as to why/where this changed away from this?
As far as I remember there was a bug related to duplicate HTML IDs in Press This. When cloning a DOM node or sub-branch, all cloned nodes end up duplicating the IDs from the originals. Easiest solutions to that are either not to use HTML IDs in the sub-branch or to move it instead of cloning (however neither would be a straight replacement in this case).
Tracked this down to [19424/trunk/wp-admin/press-this.php]. Thanks for the explanation.
comment:10
nacin — 13 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In [20542]:

It's an regression.
Patch does display the form, but it's still prefilled.