#52961 closed defect (bug) (fixed)
Add 'object-position' as an allowed CSS attribute
| Reported by: | Mamaduka | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.7.1 |
| Component: | Formatting | Version: | 5.7 |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: |
Description
Cover Block uses the object-position CSS attribute since 5.7. This caused a recovery loop for non-admin users.
Related:
Change History (9)
This ticket was mentioned in PR #1156 on WordPress/wordpress-develop by Mamaduka.
6 years ago
#1
- Keywords has-patch added
#3
in reply to: ↑ 2
@
6 years ago
Thanks, @mukesh27, for the review.
Patch looks fine to me. Do we need unite test for this?
I don't think so, I just checked KSES unit tests, and only a few attributes have unit tests.
#7
@
6 years ago
- Keywords commit fixed-major added
- Resolution fixed
- Status closed → reopened
Reopening for backporting to the 5.7 branch.
6 years ago
#9
Closing this as it got merged in the core. See https://core.trac.wordpress.org/changeset/50649
P.S. Thanks, @SergeyBiryukov.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/52961
Related: WordPress/gutenberg#30243