[buddypress-trac] [BuddyPress] #4998: bp_total_mention_count_for_user() et al should default to displayed user

buddypress-trac noreply at wordpress.org
Mon May 13 10:43:35 UTC 2013


#4998: bp_total_mention_count_for_user() et al should default to displayed user
--------------------------+-----------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  low           |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 It'd make these functions a bit easier to use if
 `bp_total_mention_count_for_user()` and the other "_count_" functions
 defaulted to the displayed user when no param is passed. (displayed rather
 than loggedin because they're most often used to generate values for
 profile tabs)

 I'm posting a ticket before just making the change because there might be
 backward compatibility issues with plugins/themes taking advantage of the
 current behavior. I can't think of anything obvious off the top of my head
 that would be actively broken, but I thought I'd open it for discussion.

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


More information about the buddypress-trac mailing list