Update theme.json classes for WordPress 5.9.

This commit ports to core the changes to the classes that deal with theme.json code.

See #54336.
Props oandregal, spacedmonkey, noisysocks, hellofromtonya, youknowriad.

git-svn-id: https://develop.svn.wordpress.org/trunk@52049 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jorge Costa
2021-11-08 19:18:39 +00:00
parent 31e9247872
commit 60725c46ca
19 changed files with 2532 additions and 409 deletions
+5
View File
@@ -2260,6 +2260,8 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
'border-bottom-color',
'border-bottom-style',
'border-bottom-width',
'border-bottom-right-radius',
'border-bottom-left-radius',
'border-left',
'border-left-color',
'border-left-style',
@@ -2268,6 +2270,8 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
'border-top-color',
'border-top-style',
'border-top-width',
'border-top-left-radius',
'border-top-right-radius',
'border-spacing',
'border-collapse',
@@ -2282,6 +2286,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
'column-width',
'color',
'filter',
'font',
'font-family',
'font-size',