Make WordPress Core


Ignore:
Timestamp:
10/24/2022 03:34:42 PM (16 months ago)
Author:
davidbaumwald
Message:

Media: Add object-fit to the allowed list of CSS properties.

This resolves a bug in Featured Image blocks where object-fit was being removed during the render_callback.

Props raduiason, pbiron, kebbet, SergeyBiryukov, bernhard-reiter, ironprogrammer, xknown, audrasjb, ckanderson22, ivanjeronimo, seriouslysenpai.
Fixes #56855.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r54672 r54675  
    24242424            'float',
    24252425            'list-style-type',
     2426            'object-fit',
    24262427            'object-position',
    24272428            'overflow',
Note: See TracChangeset for help on using the changeset viewer.