[wp-trac] [WordPress Trac] #56122: Explore allowing more layout-specific CSS properties in safe_style_css filter
WordPress Trac
noreply at wordpress.org
Thu Sep 8 15:04:55 UTC 2022
#56122: Explore allowing more layout-specific CSS properties in safe_style_css
filter
-------------------------------------------------+-------------------------
Reporter: andrewserong | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Formatting | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests changes- | Focuses:
requested |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54102" 54102]:
{{{
#!CommitTicketReference repository="" revision="54102"
KSES: Allow more layout-related CSS properties.
Adds support for the following CSS properties considered safe for inline
CSS:
* `flex-wrap`
* `gap`
* `column-gap`
* `row-gap`
Extends support for `margin` and `padding` to include logical properties:
* `margin-block-start`
* `margin-block-end`
* `margin-inline-start`
* `margin-inline-end`
* `padding-block-start`
* `padding-block-end`
* `padding-inline-start`
* `padding-inline-end`
Follow-up to [46235].
Props andrewserong, peterwilsoncc, ramonopoly, bernhard-reiter.
Fixes #56122.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56122#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list