Opened 3 years ago
Last modified 3 years ago
#54802 new defect (bug)
Allow post_comments_feed_link to disable feed output
Reported by: | drzraf | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Feeds | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
Using add_filter( 'post_comments_feed_link', '__return_false');
one would expect to disable "Comment feeds".
It's not the case, because $x = false; isset($x) === true;
Change History (1)
This ticket was mentioned in PR #2150 on WordPress/wordpress-develop by drzraf.
3 years ago
#1
Note: See
TracTickets for help on using
tickets.
Using
add_filter( 'post_comments_feed_link', '__return_false');
one would expect to disable "Comment feeds".It's not the case, because
$x = false; isset($x) === true;
Trac ticket: 54802