From 967d5c2f7ccb9cb584c86f3968a1adce752ba67e Mon Sep 17 00:00:00 2001 From: Ari Stathopoulos Date: Tue, 9 Aug 2022 11:55:11 +0300 Subject: [PATCH] extra trim call not needed --- .../style-engine/class-wp-style-engine-css-declarations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/style-engine/class-wp-style-engine-css-declarations.php b/packages/style-engine/class-wp-style-engine-css-declarations.php index 09b14a6d357fbe..54e185de21e569 100644 --- a/packages/style-engine/class-wp-style-engine-css-declarations.php +++ b/packages/style-engine/class-wp-style-engine-css-declarations.php @@ -167,6 +167,6 @@ public function get_declarations_string( $should_prettify = false, $indent_count * @return string The sanitized property name. */ protected function sanitize_property( $property ) { - return trim( sanitize_key( $property ) ); + return sanitize_key( $property ); } }