[buddypress-trac] [BuddyPress Trac] #8454: Feed link functions should short circuit when feeds are disabled

buddypress-trac noreply at wordpress.org
Tue Apr 27 04:56:39 UTC 2021


#8454: Feed link functions should short circuit when feeds are disabled
--------------------------+---------------------
 Reporter:  sippis        |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  8.0.0
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12907" 12907]:
 {{{
 #!CommitTicketReference repository="" revision="12907"
 Improve ways to disable BP RSS feeds

 Returning `false` to the filter `bp_activity_enable_feeds` is completely
 disabling all RSS feeds and will now avoid the output of an empty link.

 A second argument has been added to the filter to allow to disable a
 specific feed in particular, one of these feed identifiers:
 - 'sitewide',
 - 'personal',
 - 'friends',
 - 'mygroups',
 - 'mentions',
 - 'favorites'.

 The BP Nouveau Template pack has also been improved to update the user's
 profile activity RSS feed links according to the context.

 Props sippis

 Fixes #8454
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8454#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list