WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#39455 closed enhancement (duplicate)

wp_kses_post strips srcset and sizes

Reported by: drrobotnik Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: Media Keywords:
Focuses: Cc:
PR Number:

Description

Now that RICG images are a part of Core, it seems like srcset and sizes should be added to wp_kses_post allowed_html.

Is this something that could be added?

Change History (1)

#1 @ocean90
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hello @drrobotnik,

thanks for your report, we're already tracking this issue in #29807.

Note: See TracTickets for help on using tickets.