Opened 5 years ago
Last modified 5 years ago
#54802 new defect (bug)
Allow post_comments_feed_link to disable feed output
| Reported by: | drzraf | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Feeds | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
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.
5 years ago
#1
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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