[wp-trac] [WordPress Trac] #50731: Add "loading" as an allowed kses image attribute

WordPress Trac noreply at wordpress.org
Tue Jul 21 22:49:08 UTC 2020


#50731: Add "loading" as an allowed kses image attribute
------------------------------------------+---------------------
 Reporter:  TimothyBlynJacobs             |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  5.5
Component:  Media                         |     Version:  trunk
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+---------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch => needs-patch needs-unit-tests


Comment:

 This makes sense.

 I've added needs tests, adding an image tag as HTML should do as ensuring
 avatars have a `loading` attribute is best for the avatar portion of the
 test suite.

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


More information about the wp-trac mailing list