Allow these CSS properties in KSES: min-height', 'max-height', 'min-width', 'max-width'

Props MikeHansenMe.
Fixes #31949.

Built from https://develop.svn.wordpress.org/trunk@33739


git-svn-id: http://core.svn.wordpress.org/trunk@33707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-08-25 21:46:20 +00:00
parent a13230b93f
commit 8d27055b0c
2 changed files with 3 additions and 3 deletions

View File

@ -1694,10 +1694,10 @@ function safecss_filter_attr( $css, $deprecated = '' ) {
'border-right-style', 'border-right-width', 'border-spacing', 'border-style', 'border-top',
'border-top-color', 'border-top-style', 'border-top-width', 'border-width', 'caption-side',
'clear', 'cursor', 'direction', 'font', 'font-family', 'font-size', 'font-style',
'font-variant', 'font-weight', 'height', 'letter-spacing', 'line-height', 'margin-bottom',
'font-variant', 'font-weight', 'height', 'min-height','max-height' , 'letter-spacing', 'line-height', 'margin-bottom',
'margin-left', 'margin-right', 'margin-top', 'overflow', 'padding', 'padding-bottom',
'padding-left', 'padding-right', 'padding-top', 'text-decoration', 'text-indent', 'vertical-align',
'width' ) );
'width', 'min-width', 'max-width' ) );
if ( empty($allowed_attr) )
return $css;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33738';
$wp_version = '4.4-alpha-33739';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.