mirror of
https://ghproxy.net/https://github.com/AlxMedia/textdash.git
synced 2025-08-26 15:14:30 +08:00
Kirki deprecated fix
This commit is contained in:
parent
11db77c5b6
commit
124f879b21
1 changed files with 13 additions and 0 deletions
|
@ -729,3 +729,16 @@ function textdash_skip_link_focus_fix() {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
add_action( 'wp_print_footer_scripts', 'textdash_skip_link_focus_fix' );
|
add_action( 'wp_print_footer_scripts', 'textdash_skip_link_focus_fix' );
|
||||||
|
|
||||||
|
|
||||||
|
/* Kirki deprecated fix
|
||||||
|
/* ------------------------------------ */
|
||||||
|
function textdash_kirki_config( $config ) {
|
||||||
|
|
||||||
|
if ( isset( $config['compiler'] ) ) {
|
||||||
|
unset( $config['compiler'] );
|
||||||
|
}
|
||||||
|
|
||||||
|
return $config;
|
||||||
|
}
|
||||||
|
add_filter( 'kirki/config', 'textdash_kirki_config', 999 );
|
Loading…
Add table
Add a link
Reference in a new issue