Opened 12 years ago
Closed 12 years ago
#29474 closed defect (bug) (fixed)
oEmbed previews ignore width and height attributes
| Reported by: | johnbillion | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Embeds | Version: | 4.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
After a group debugging in IRC, 29474.patch fixes it here.