From ac943f171abeea2e0bc924bcda4c9252ab6073d9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 17 May 2021 20:48:01 +0000 Subject: [PATCH] KSES: Remove duplicate `object-position` property. As part of some recent changes, the property was added to the list of safe CSS properties twice. Follow-up to [50634], [50761]. See #52991. Built from https://develop.svn.wordpress.org/trunk@50922 git-svn-id: http://core.svn.wordpress.org/trunk@50531 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 31998dcaa8..fa3b343cac 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -2248,8 +2248,6 @@ function safecss_filter_attr( $css, $deprecated = '' ) { 'margin-left', 'margin-top', - 'object-position', - 'padding', 'padding-right', 'padding-bottom', diff --git a/wp-includes/version.php b/wp-includes/version.php index 41a1f05f7a..88ac0425cf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50921'; +$wp_version = '5.8-alpha-50922'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.