Make WordPress Core

Ticket #52880: 52880.filter.patch

File 52880.filter.patch, 645 bytes (added by sabernhardt, 3 years ago)

option 2: using proposed filter

  • src/wp-content/themes/twentytwentyone/functions.php

     
    338338                // Add support for custom units.
    339339                // This was removed in WordPress 5.6 but is still required to properly support WP 5.5.
    340340                add_theme_support( 'custom-units' );
     341
     342                // Remove feed icon link from legacy RSS widget.
     343                add_filter( 'rss_widget_feed_link', '__return_false' );
    341344        }
    342345}
    343346add_action( 'after_setup_theme', 'twenty_twenty_one_setup' );