mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
KSES: Add background-repeat
to the list of safe CSS properties.
Follow-up to [45242], [46235]. Props andrewserong, ramonopoly, mukesh27. Fixes #60132. Built from https://develop.svn.wordpress.org/trunk@57228 git-svn-id: http://core.svn.wordpress.org/trunk@56734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13f7ee3063
commit
ae1c461ed5
@ -2303,6 +2303,7 @@ function kses_init() {
|
|||||||
* @since 6.3.0 Extended support for `filter` to accept a URL and added support for repeat().
|
* @since 6.3.0 Extended support for `filter` to accept a URL and added support for repeat().
|
||||||
* Added support for `box-shadow`.
|
* Added support for `box-shadow`.
|
||||||
* @since 6.4.0 Added support for `writing-mode`.
|
* @since 6.4.0 Added support for `writing-mode`.
|
||||||
|
* @since 6.5.0 Added support for `background-repeat`.
|
||||||
*
|
*
|
||||||
* @param string $css A string of CSS rules.
|
* @param string $css A string of CSS rules.
|
||||||
* @param string $deprecated Not used.
|
* @param string $deprecated Not used.
|
||||||
@ -2334,6 +2335,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
|
|||||||
'background-color',
|
'background-color',
|
||||||
'background-image',
|
'background-image',
|
||||||
'background-position',
|
'background-position',
|
||||||
|
'background-repeat',
|
||||||
'background-size',
|
'background-size',
|
||||||
'background-attachment',
|
'background-attachment',
|
||||||
'background-blend-mode',
|
'background-blend-mode',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57227';
|
$wp_version = '6.5-alpha-57228';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user