#3659 closed task (blessed) (fixed)
Missing inline documentation tags and formatting
| Reported by: | huzaifaalmesbah | Owned by: | johnjamesjacoby |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Several core files contain inline documentation that does not fully align with WordPress PHP Documentation Standards.
Issues identified:
- Some functions are missing
@returntags. - Full stops (periods) are missing at the end of some function summaries and parameter descriptions.
- Some
@paramtags are missing descriptions.
Affected files:
src/bbpress.phpsrc/includes/admin/classes/class-bbp-admin.phpsrc/includes/forums/functions.phpsrc/includes/replies/functions.phpsrc/includes/topics/functions.phpsrc/includes/users/signups.php
Change History (5)
This ticket was mentioned in PR #37 on bbpress/bbPress by @huzaifaalmesbah.
10 months ago
#1
- Keywords has-patch added
#2
@
10 months ago
- Keywords commit added
- Milestone Awaiting Review → 2.7
- Owner set to
- Status new → assigned
- Type defect (bug) → task (blessed)
Fixed missing full stops (periods) in function summaries and descriptions.
This is a rule that I've stubbornly avoided working on (because fragments don't deserve full-stops) but I suppose it's time. 😅
#3
@
10 months ago
I checked the updated files, and everything looks good now.
The missing tags and formatting issues you mentioned earlier are all fixed. Nice work!
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This PR improves the inline documentation coverage and formatting across several core files to align with WordPress PHP Documentation Standards.
## Changes
@returntags.@paramdescriptions.## Files Modified
src/includes/admin/classes/class-bbp-admin.phpsrc/includes/forums/functions.phpsrc/includes/replies/functions.phpsrc/includes/topics/functions.phpsrc/includes/users/signups.phpSee #3659