Opened 5 years ago
Last modified 5 years ago
#45900 new defect (bug)
Twenty Nineteen: WordPress embed width does not match between front and back end
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.0.2 |
Component: | Bundled Theme | Keywords: | needs-testing |
Focuses: | Cc: |
Description
As originally reported by @bph on the Twenty Nineteen GitHub repository:
https://github.com/WordPress/twentynineteen/issues/736
It's possible this applies to more types of embeds as well.
Editor Screenshots
Front End Screenshots:
Note: See
TracTickets for help on using
tickets.
If you look at
get_oembed_response_data()
, WordPress embeds have a default max width of 600px, which is what you see on the front end.That max width should be respected, so the width as shown in the editor screenshots are wrong IMO.