[wp-trac] [WordPress Trac] #57504: Add position CSS properties in safe_style_css filter

WordPress Trac noreply at wordpress.org
Wed Feb 1 22:50:26 UTC 2023


#57504: Add position CSS properties in safe_style_css filter
-------------------------------------------------+-------------------------
 Reporter:  andrewserong                         |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests gutenberg-  |     Focuses:
  merge commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"55184" 55184]:
 {{{
 #!CommitTicketReference repository="" revision="55184"
 KSES: Allow position-related CSS properties.

 Adds support for the following CSS properties considered safe for inline
 CSS:
 * `position`
 * `top`
 * `right`
 * `bottom`
 * `left`
 * `z-index`

 References:
 * [https://github.com/WordPress/gutenberg/pull/46142 Gutenberg PR 46142].

 Follow-up to [54117].

 Props andrewserong, mukesh27.
 Fixes #57504.
 }}}

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


More information about the wp-trac mailing list