[wp-trac] [WordPress Trac] #52961: Add 'object-position' as an allowed CSS attribute
WordPress Trac
noreply at wordpress.org
Fri Apr 2 19:30:12 UTC 2021
#52961: Add 'object-position' as an allowed CSS attribute
------------------------------------------+-----------------------------
Reporter: Mamaduka | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7.1
Component: Formatting | Version: 5.7
Severity: normal | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"50649" 50649]:
{{{
#!CommitTicketReference repository="" revision="50649"
KSES: Add `object-position` to the list of safe CSS properties.
This resolves an issue with the Cover block, where the `object-position`
property is removed from the content when a non-admin user saves the post,
leading to block recovery loop.
Props Mamaduka, aristath.
Merges [50634] to the 5.7 branch.
Fixes #52961.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52961#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list