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

WordPress Trac noreply at wordpress.org
Sat Mar 14 00:31:29 UTC 2026


#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:  7.1
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests early       |     Focuses:
  needs-refresh                                  |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 > So, I've tested the patch with my real project. WP 6.8.1, FCE, Images in
 S3 bucket, Images customizes to work with external resizer, image URLs
 looks like:

 @oglekler thanks for your bug report. I have fixed that (i hope) and added
 some additional tests based on this.

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


More information about the wp-trac mailing list