updated theme GeneratePress version 3.4.0

This commit is contained in:
2024-02-08 12:32:18 +00:00
committed by Gitium
parent 0a68b68387
commit ebadc7fb45
30 changed files with 158 additions and 125 deletions

View File

@ -103,7 +103,7 @@ if ( ! class_exists( 'GeneratePress_CSS' ) ) {
}
// Add our unit to our value if it exists.
if ( $unit && '' !== $unit ) {
if ( $unit && '' !== $unit && is_numeric( $value ) ) {
$value = $value . $unit;
if ( '' !== $og_default ) {
$og_default = $og_default . $unit;