From 6f9c68e10e209ac3273a876a46faa98d5deafce1 Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 4 May 2023 13:07:57 +1000 Subject: [PATCH] Comment was effectively doubled up. Let's get rid of it to avoid confusion. --- lib/block-supports/typography.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/block-supports/typography.php b/lib/block-supports/typography.php index 8fc7a9bdcafb3..afd410b3b9e88 100644 --- a/lib/block-supports/typography.php +++ b/lib/block-supports/typography.php @@ -265,12 +265,11 @@ function gutenberg_get_typography_value_and_unit( $raw_value, $options = array() return null; } - // Converts numeric values to pixel values by default. if ( empty( $raw_value ) ) { return null; } - // Converts numbers to pixel values by default. + // Converts numeric values to pixel values by default. if ( is_numeric( $raw_value ) ) { $raw_value = $raw_value . 'px'; }