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

WordPress Trac noreply at wordpress.org
Thu Jun 15 19:28:02 UTC 2017


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

Comment (by drrobotnik):

 Replying to [comment:21 peterwilsoncc]:

 > The refactor of `wp_kses_hair()` remains a gift for someone suitably
 enthusiastic.

 Ref patch:
 https://core.trac.wordpress.org/ticket/29807?replyto=21#comment:16

 What's the right approach to refactor? My patch was a small refactor on
 wp_kses_hair. I started with formatting but stopped because I didn't want
 to go down the rabbit hole and not have the patch accepted.

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


More information about the wp-trac mailing list