diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 265fb748ac..93bb4abc1d 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -1964,6 +1964,7 @@ function safecss_filter_attr( $css, $deprecated = '' ) { * @since 2.8.1 * @since 4.4.0 Added support for `min-height`, `max-height`, `min-width`, and `max-width`. * @since 4.6.0 Added support for `list-style-type`. + * @since 5.0.0 Added support for `text-transform`. * * @param array $attr List of allowed CSS attributes. */ @@ -2006,9 +2007,10 @@ function safecss_filter_attr( $css, $deprecated = '' ) { 'font-weight', 'letter-spacing', 'line-height', + 'text-align', 'text-decoration', 'text-indent', - 'text-align', + 'text-transform', 'height', 'min-height', diff --git a/wp-includes/version.php b/wp-includes/version.php index f7885d8a42..e6d58d8b32 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42879'; +$wp_version = '5.0-alpha-42880'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.