Opened 12 years ago
Closed 12 years ago
#29474 closed defect (bug) (fixed)
oEmbed previews ignore width and height attributes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 4.0 |
| Component: | Embeds | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
Steps to reproduce:
Paste the following into the editor:
[embed width="200" height="200"]https://www.youtube.com/watch?v=n52tAhXzO5E&hd=1[/embed]
Note that the preview which appears does not respect the width and height attributes of the [embed] shortcode.
This has been narrowed down to a lack of wp_unslash() on $_POST['shortcode'] in wp_ajax_parse_embed().
Attachments (1)
Change History (7)
This ticket was mentioned in IRC in #wordpress-dev by johnbillion. View the logs.
12 years ago
Note: See
TracTickets for help on using
tickets.
After a group debugging in IRC, 29474.patch fixes it here.