|
@@ -20,6 +20,9 @@ function dw_setup() {
|
|
|
add_filter( 'big_image_size_threshold', '__return_false' );
|
|
|
add_theme_support( 'align-wide' );
|
|
|
remove_action( 'init', 'wp_sitemaps_get_server' );
|
|
|
+ // added this to remove depreciation warning in v6.4.1 b/c front page doesn't have wp_header
|
|
|
+ remove_action( 'wp_footer', 'the_block_template_skip_link' );
|
|
|
+ // see changes @ https://core.trac.wordpress.org/changeset/56932
|
|
|
}
|
|
|
endif;
|
|
|
add_action( 'after_setup_theme', 'dw_setup' );
|