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

WordPress Trac noreply at wordpress.org
Mon Feb 26 18:46:35 UTC 2024


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

Comment (by adamsilverstein):

 I refreshed the latest patch from @1000camels in
 https://github.com/WordPress/wordpress-develop/pull/6184; there were
 several conflicts to resolve and I also adjusted for core's addition of
 `wp_kses_uri_attributes`. Looks like the tests could use expanding to
 cover more complex picture elements.

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


More information about the wp-trac mailing list