diff --git src/wp-includes/kses.php src/wp-includes/kses.php
index 465364e6de..2b96e84a47 100644
|
|
function safecss_filter_attr( $css, $deprecated = '' ) { |
2062 | 2062 | * @since 4.6.0 Added support for `list-style-type`. |
2063 | 2063 | * @since 5.0.0 Added support for `background-image`. |
2064 | 2064 | * @since 5.1.0 Added support for `text-transform`. |
| 2065 | * @since 5.2.0 Added support for `background-position` and `grid-template-columns` |
2065 | 2066 | * |
2066 | 2067 | * @param string[] $attr Array of allowed CSS attributes. |
2067 | 2068 | */ |
… |
… |
function safecss_filter_attr( $css, $deprecated = '' ) { |
2071 | 2072 | 'background', |
2072 | 2073 | 'background-color', |
2073 | 2074 | 'background-image', |
| 2075 | 'background-position', |
2074 | 2076 | |
2075 | 2077 | 'border', |
2076 | 2078 | 'border-width', |
… |
… |
function safecss_filter_attr( $css, $deprecated = '' ) { |
2138 | 2140 | 'overflow', |
2139 | 2141 | 'vertical-align', |
2140 | 2142 | 'list-style-type', |
| 2143 | 'grid-template-columns', |
2141 | 2144 | ) |
2142 | 2145 | ); |
2143 | 2146 | |