[buddypress-trac] [BuddyPress Trac] #6344: Visibility levels: naming

buddypress-trac noreply at wordpress.org
Fri Apr 3 08:57:19 UTC 2015


#6344: Visibility levels: naming
--------------------------+-----------------------------
 Reporter:  landwire      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  API           |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi there,
 I explored adding a visibility level "admin_only" to the range of
 visibility levels according to https://github.com/boonebgorges/bbg-custom-
 bp-field-visibility

 That works fine. But I came across this in the core bp-xprofile-loader:

 {{{
 'adminsonly' => array(
                                 'id'      => 'adminsonly',
                                 'label' => _x( 'Only Me', 'Visibility
 level setting', 'buddypress' )
                         ),
 }}}

 I find the naming here is just asking for confusion - especially if you
 want to add some fields that are truely admin_only (i.e latitude/longitude
 data etc). Could it be changed to something like this:


 {{{
 'admins_and_me' => array(
                                 'id'      => 'admins_and_me',
                                 'label' => _x( 'Only Me', 'Visibility
 level setting', 'buddypress' )
                         ),
 }}}

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


More information about the buddypress-trac mailing list