Make WordPress Core

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's profile 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;

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

Change History (1)

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


3 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.