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

WordPress Trac noreply at wordpress.org
Thu Jul 23 00:43:03 UTC 2020


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

 * owner:  (none) => whyisjake
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48572" 48572]:
 {{{
 #!CommitTicketReference repository="" revision="48572"
 Media: Add "loading" as an allowed kses image attribute

 With loading="lazy" being added to all images in [47554], let's ensure
 that it passes kses attributes too.

 Fixes #50731.
 Props TimothyBlynJacobs, peterwilsoncc, azaozz.
 }}}

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


More information about the wp-trac mailing list