[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 05:25:14 UTC 2023


#59387: Add writing-mode as an allowed attribute to safecss_filter_attr()
--------------------------+-----------------------------
 Reporter:  wildworks     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 #59306 added `writing-mode` to the typography support. However, this
 property is not allowed by `safecss_filter_attr()` function, so this
 property will be removed when outputting inline styles with the
 `get_block_wrapper_attributes()` function, for example.

 This ticket is for tracking the PHP backport for the following Gutenberg
 PR: https://github.com/WordPress/gutenberg/pull/54581

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


More information about the wp-trac mailing list