[wp-trac] [WordPress Trac] #59387: Add writing-mode as an allowed attribute to safecss_filter_attr()

WordPress Trac noreply at wordpress.org
Tue Sep 19 12:28:40 UTC 2023


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

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


Comment:

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

 Original PR from Gutenberg repository:
 * [https://github.com/WordPress/gutenberg/pull/54581 #54581 Gutenberg
 Plugin: Add hook to allow `writing-mode` as a safe CSS property]

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

 Follow-up to [56605].

 Props wildworks, mukesh27, poena, andrewserong.
 Fixes #59387.
 }}}

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


More information about the wp-trac mailing list