[wp-trac] [WordPress Trac] #29807: add support for picture element and srcset attribute on img in wp_kses

WordPress Trac noreply at wordpress.org
Tue Aug 26 21:21:42 UTC 2025


#29807: add support for picture element and srcset attribute on img in wp_kses
--------------------------------------+------------------------------
 Reporter:  mattheu                   |       Owner:  adamsilverstein
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.9
Component:  Formatting                |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by adamsilverstein):

 Thanks for the feedback @oglekler - I'm sorry to hear that this corrupted
 your images!

 Some questions that may help me reproduce:


 - what is "FCE"?
 - are you using a plugin for the s3 media hosting? (which one?)
 - can you provide the full HTML for the image block or a URL I can check.
 ie including the wrapper, srcset etc.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29807#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list