mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 09:25:45 +08:00
1.0.7
This commit is contained in:
parent
62def2a89b
commit
7ad333b360
167 changed files with 2955 additions and 2493 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Hekoers to get the values of a field.
|
||||
* Helpers to get the values of a field.
|
||||
* WARNING: PLEASE DO NOT USE THESE.
|
||||
* we only have these for backwards-compatibility purposes.
|
||||
* please use get_option() & get_theme_mod() instead.
|
||||
|
@ -9,7 +9,7 @@
|
|||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
|
@ -47,7 +47,10 @@ class Kirki_Values {
|
|||
|
||||
// Combine font-family and font-backup.
|
||||
if ( isset( $value['font-family'] ) && isset( $value['font-backup'] ) ) {
|
||||
$value['font-family'] .= ', ' . $value['font-backup'];
|
||||
$backup = trim( $value['font-backup'] );
|
||||
if ( ! empty( $backup ) ) {
|
||||
$value['font-family'] .= ', ' . $backup;
|
||||
}
|
||||
unset( $value['font-backup'] );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue