[buddypress-trac] [BuddyPress] #3695: Basic profile privacy

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Feb 25 22:00:03 UTC 2012


#3695: Basic profile privacy
--------------------------+------------------------
 Reporter:  boonebgorges  |       Owner:  cnorris23
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+------------------------

Comment (by boonebgorges):

 hnla - Glad it's useful!

 bp_profile_group_has_fields() is not touched in this implementation. I
 reach deeper into the database query and prevent hidden-for-this-user
 fields from being returned in the first place. Then
 bp_profile_group_has_fields() behaves as normal.

 These changes should be totally backward compatible. If existing themes do
 not support the markup for changing the field visibility, then it will
 default to public. And all existing use of the bp_has_profile() stack
 (including bp_profile_group_has_fields()) will continue to work just as
 before.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3695#comment:21>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list