From f706a2d4c4e357032d3d421f5a9faab9b3502b55 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 30 May 2019 12:38:09 +0000 Subject: [PATCH] CSS Coding Standards: Use unitless values for `line-height` in `wp-includes/functions.php`. Props ianbelanger, pbiron, afercia. Fixes #46523. See #44643. git-svn-id: https://develop.svn.wordpress.org/trunk@45473 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index c9f817011a..5dfbf58697 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -3177,7 +3177,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { display: inline-block; text-decoration: none; font-size: 13px; - line-height: 26px; + line-height: 2; height: 28px; margin: 0; padding: 0 10px 1px; @@ -3197,7 +3197,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { .button.button-large { height: 30px; - line-height: 28px; + line-height: 2.15384615; padding: 0 12px 2px; }