[buddypress-trac] [BuddyPress Trac] #8453: Feed links should be visible only when functions return string
buddypress-trac
noreply at wordpress.org
Thu Apr 8 17:57:48 UTC 2021
#8453: Feed links should be visible only when functions return string
--------------------------+-----------------------------
Reporter: sippis | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Templates | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
Currently, activity stream feed links are always visible even the feed
link functions would return something else than string. This is in both
legacy and nouveau templates.
Use case: I've disabled all feeds with `bp_activity_enable_feeds` filter.
That didn't remove the feed links, so went ahead and used link filters
like `bp_get_sitewide_activity_feed_link` and
`bp_get_activities_member_rss_link` to return null. Now there's no real
link but the element is still visible.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8453>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list