Skip to:

Opened 11 years ago

Closed 11 years ago

#5102 closed enhancement (wontfix)

Separate Widgets code or Join All code in

Reported by: megainfo's profile megainfo Owned by:
Milestone: Priority: normal
Severity: trivial Version:
Component: Core Keywords: reporter-feedback



I check the widgets (Members,Groups, Whos iS online and Recently Active members), I see that the group Widget is in the separte file bp-groups/bp-groups-widgets.php
and the Members,Groups, Whos is online and Recently active members widgets are in bp-core/bp-core-widgets.php

I suggest join all widgets codes in one file (bp-core-widgets.php) and remove the bp-groups-widgets.php, or
separate all widgets for each component in a separated file.

Change History (2)

#1 @boonebgorges
11 years ago

  • Keywords reporter-feedback added

Hi megainfo - The Groups widget cannot be moved into the Core widgets file, because it depends on the Groups component. So if you had Groups turned off, the Groups widget should be turned off too. This could potentially be done with a bp_is_active() check instead, but we try to avoid those when possible.

What's the advantage of your other suggestion, moving the individual widgets into separate files? What's the problem with the way things are currently arranged?

#2 @DJPaul
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.