Kirki 4.0.24

This commit is contained in:
AlxMedia 2022-05-30 09:58:04 +02:00
parent 896957cd95
commit 79e4092e86
39 changed files with 1664 additions and 1315 deletions

View file

@ -271,7 +271,7 @@ class Kirki extends Init {
// Convert css_vars to output args.
if ( isset( $args['css_vars'] ) ) {
if ( 'postMessage' === $args['transport'] ) {
if ( isset( $args['transport'] ) && 'postMessage' === $args['transport'] ) {
$args['transport'] = 'auto';
}

View file

@ -12,6 +12,8 @@
namespace Kirki\Compatibility;
use Kirki\URL;
/**
* Adds scripts for backwards-compatibility
*