[wp-trac] [WordPress Trac] #61536: Add opacity as an allowed attribute to safecss_filter_attr()

WordPress Trac noreply at wordpress.org
Fri Jul 12 03:35:08 UTC 2024


#61536: Add opacity as an allowed attribute to safecss_filter_attr()
--------------------------+-----------------------------
 Reporter:  sunil25393    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.7
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58709" 58709]:
 {{{
 #!CommitTicketReference repository="" revision="58709"
 KSES: Add `opacity` to the list of safe CSS properties.

 Original PR from Gutenberg repository:
 * [https://github.com/WordPress/gutenberg/pull/59891 #59891 Update overlay
 step function in cover block]

 Reference: [https://developer.mozilla.org/en-US/docs/Web/CSS/opacity MDN
 Web Docs: opacity].

 Props sunil25393, wildworks, poena, Mamaduka, presstoke.
 Fixes #61536.
 }}}

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


More information about the wp-trac mailing list