This commit is contained in:
Alexander Agnarson 2019-02-17 14:28:35 +01:00
parent b14ccb1b03
commit 7e3774b663
168 changed files with 2453 additions and 2788 deletions

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.0
*/
@ -23,7 +23,8 @@ class Kirki_Output_Field_Dimensions extends Kirki_Output {
*/
protected function process_output( $output, $value ) {
$output = wp_parse_args(
$output, array(
$output,
array(
'element' => '',
'property' => '',
'media_query' => 'global',

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.10
*/
@ -26,7 +26,8 @@ class Kirki_Output_Field_Image extends Kirki_Output {
return;
}
$output = wp_parse_args(
$output, array(
$output,
array(
'media_query' => 'global',
'prefix' => '',
'units' => '',

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.0
*/
@ -81,7 +81,8 @@ class Kirki_Output_Field_Typography extends Kirki_Output {
if ( 'font-family' === $property ) {
$value['font-backup'] = ( isset( $value['font-backup'] ) ) ? $value['font-backup'] : '';
$property_value = $this->process_property_value(
$property, array(
$property,
array(
$value['font-family'],
$value['font-backup'],
)