[buddypress-trac] [BuddyPress Trac] #5441: Profile Settings show "Email" sub tab even if content is empty

buddypress-trac noreply at wordpress.org
Mon Nov 10 15:28:52 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:  good-first-bug has-patch needs-testing  |
----------------------------------------------------+--------------------
Changes (by Mamaduka):

 * cc: georgemamadashvili@… (added)
 * keywords:  needs-patch good-first-bug => good-first-bug has-patch needs-
     testing


Comment:

 @boonebgorges followed your suggestions.

 * Patch introduces new function `bp_settings_remove_email_subnav()`,
 hooked in `bp_actions` which is fired before screens are loaded.
 * Also removes 'Email' from admin bar.

 Tested patch with default components.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5441#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list