Make WordPress Core

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;

​https://github.com/WordPress/wordpress-develop/pull/2150

Change History (1)

This ticket was mentioned in ​PR #2150 on ​WordPress/wordpress-develop by ​drzraf.


5 years ago
#1

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

Note: See TracTickets for help on using tickets.