Opened 12 years ago
Closed 12 years ago
#1975 closed defect (bug) (fixed)
bbp-includes is becoming difficult to navigate
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.2 | Priority: | high |
Severity: | normal | Version: | 2.1 |
Component: | Tools - Code Improvements | Keywords: | |
Cc: |
Description
Problem: /bbp-includes/ is becoming a mess:
- Difficult to navigate through files and code.
- Becoming hard to decide where code should live.
- File prefixes and suffixes are becoming increasingly redundant.
Solution: Create sub folders in /bbp-includes/ for:
- admin
- core
- common
- extend
- forums
- topics
- replies
- users
In addition, bbpress()->includes_dir and bbpress()->includes_url could be introduced to make including and enqueueing files easier. Some other enhancements are:
- Splitting the BuddyPress file up into smaller parts, for activity/group/profile.
- Removing superfluous bbp- file prefix.
- Lengthening abbreviated file suffixes -caps/-capabilities, -template/-template-tags.
Everything should obviously be moved to retain file version history.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
bah ignore that patch :\