Opened 3 years ago
Closed 3 years ago
#53464 closed defect (bug) (fixed)
Source sets not adding to images in block based widgets
Reported by: | spacedmonkey | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Widgets | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Similar to #53463. If I insert an image or paragraph / custom html ( that contains html for an image ), in the new block based widget screen, the generated image on the front end does contain the srcset / sizes attributes. See attached screenshot.
Attachments (1)
Change History (6)
This ticket was mentioned in Slack in #core-media by spacedmonkey. View the logs.
3 years ago
#3
@
3 years ago
Confirmed that the issue is present and tested the patch. Works as expected.
Markup Before:
https://d.pr/i/nIRRgg
Markup After
https://d.pr/i/sim5Yf
#4
@
3 years ago
- Keywords commit added
- Owner set to flixos90
- Status changed from new to reviewing
Via https://core.trac.wordpress.org/ticket/53463#comment:8, the patch that covers this ticket as well is good to go.
Note: See
TracTickets for help on using
tickets.
There is a patch that will fix this and #53463 at https://github.com/WordPress/wordpress-develop/pull/1404