[buddypress-trac] [BuddyPress Trac] #5441: Profile Settings show "Email" sub tab even if content is empty
    buddypress-trac 
    noreply at wordpress.org
       
    Sun Oct 26 19:13:22 UTC 2014
    
    
  
#5441: Profile Settings show "Email" sub tab even if content is empty
----------------------------------------+--------------------
 Reporter:  landwire                    |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  2.2
Component:  Settings                    |     Version:  1.9.2
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+--------------------
Comment (by pro120):
 So here is the first set of components we could used to check for.  I also
 added a filter to allow custom components to turn on the email tab as
 well.  Could use some input on what the $defaults should be if we go with
 this approach.
 {{{
 $defaults = array( 'friends', 'forums', 'messages' );
 $components_with_email = apply_filters( 'bp_components_using_email_tab',
 $defaults );
 }}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5441#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list