WordPress.org

Make WordPress Core

Changeset 45242


Ignore:
Timestamp:
04/18/2019 05:55:35 AM (4 months ago)
Author:
pento
Message:

KSES: Add background-position and grid-template-columns as safe CSS properties.

Props aduth.
Fixes #46597.

File:
1 edited

Legend:

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

    r44531 r45242  
    20632063     * @since 5.0.0 Added support for `background-image`.
    20642064     * @since 5.1.0 Added support for `text-transform`.
     2065     * @since 5.2.0 Added support for `background-position` and `grid-template-columns`
    20652066     *
    20662067     * @param string[] $attr Array of allowed CSS attributes.
     
    20722073            'background-color',
    20732074            'background-image',
     2075            'background-position',
    20742076
    20752077            'border',
     
    21392141            'vertical-align',
    21402142            'list-style-type',
     2143            'grid-template-columns',
    21412144        )
    21422145    );
Note: See TracChangeset for help on using the changeset viewer.