Opened 14 years ago
Closed 14 years ago
#1975 closed defect (bug) (fixed)
bbp-includes is becoming difficult to navigate
| Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | high | Milestone: | 2.2 |
| Component: | Tools - Code Improvements | Version: | 2.1 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
bah ignore that patch :\