Bug Report/Request: Please don't break RSS feeds
-
Hi,
Plugin developer here. I have concerns with this snippet of code:
/* Custom rss feed /* ------------------------------------ */ if ( ! function_exists( 'alx_feed_link' ) ) { function alx_feed_link( $output, $feed ) { // Do not redirect comments feed if ( strpos( $output, 'comments' ) ) return $output; // Return feed url return esc_attr( ot_get_option('rss-feed',$output) ); } } add_filter( 'feed_link', 'alx_feed_link', 10, 2 );It hijacks and breaks all feeds except the comment feed. So any feeds registered by plugins don’t work. Please fix this.
Thanks, Eric
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Bug Report/Request: Please don't break RSS feeds’ is closed to new replies.
