Browse Source

rm dep 6.4.1 er

windhamdavid 1 year ago
parent
commit
4737f7af30
1 changed files with 3 additions and 0 deletions
  1. 3 0
      functions.php

+ 3 - 0
functions.php

@@ -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' );