mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogstream.git
synced 2025-08-26 05:35:44 +08:00
Kirki deprecated fix
This commit is contained in:
parent
ff0e9a10ab
commit
fc63ecc868
1 changed files with 14 additions and 1 deletions
|
@ -729,4 +729,17 @@ function blogstream_skip_link_focus_fix() {
|
|||
</script>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_print_footer_scripts', 'blogstream_skip_link_focus_fix' );
|
||||
add_action( 'wp_print_footer_scripts', 'blogstream_skip_link_focus_fix' );
|
||||
|
||||
|
||||
/* Kirki deprecated fix
|
||||
/* ------------------------------------ */
|
||||
function blogstream_kirki_config( $config ) {
|
||||
|
||||
if ( isset( $config['compiler'] ) ) {
|
||||
unset( $config['compiler'] );
|
||||
}
|
||||
|
||||
return $config;
|
||||
}
|
||||
add_filter( 'kirki/config', 'blogstream_kirki_config', 999 );
|
Loading…
Add table
Add a link
Reference in a new issue