[buddypress-trac] [BuddyPress Trac] #5709: Sites count in main navigation not filterable

buddypress-trac noreply at wordpress.org
Thu Jun 12 13:23:09 UTC 2014


#5709: Sites count in main navigation not filterable
--------------------------+-----------------------------
 Reporter:  needle        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Blogs         |    Version:  2.0
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 On line 129 of 'bp-blogs/bp-blogs-loader.php', BP uses
 `bp_blogs_total_blogs_for_user()` to retrieve the number of sites for a
 user and build the menu item. The return value from this function is not
 passed through any filters, so cannot be overridden. If
 `bp_get_total_blog_count_for_user()` is used instead, then the count can
 be filtered.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5709>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list