mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 03:00:14 +00:00
KSES: Add background-repeat to the list of safe CSS properties.
Follow-up to [45242], [46235]. Props andrewserong, ramonopoly, mukesh27. Fixes #60132. git-svn-id: https://develop.svn.wordpress.org/trunk@57228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -938,6 +938,8 @@ EOF;
|
||||
* @ticket 55966
|
||||
* @ticket 56122
|
||||
* @ticket 58551
|
||||
* @ticket 60132
|
||||
*
|
||||
* @dataProvider data_safecss_filter_attr
|
||||
*
|
||||
* @param string $css A string of CSS rules.
|
||||
@@ -1346,6 +1348,11 @@ EOF;
|
||||
'css' => 'writing-mode: vertical-rl',
|
||||
'expected' => 'writing-mode: vertical-rl',
|
||||
),
|
||||
// `background-repeat` introduced in 6.5.
|
||||
array(
|
||||
'css' => 'background-repeat: no-repeat',
|
||||
'expected' => 'background-repeat: no-repeat',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user