Opened 9 years ago
Last modified 4 months ago
#3110 new task (blessed)
Add missing filter documentation
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.7 | Priority: | normal |
| Severity: | normal | Version: | 2.0 |
| Component: | Tools - Code Improvements | Keywords: | good-first-bug changes-requested needs-docs |
| Cc: | SirLouen |
Description
In r6438, I added an easy way to identify which filters are missing documentation blocks.
A search for:
// Filter & return
...currently yields 533 results, all of which represent filters in bbPress that are missing documentation about why someone might want to hook into them.
It would be simply wonderful for some enterprising soul to chug through these and document them. Then we can set bbPress up with one of those fancy auto-documenting filter tools like WordPress has.
Change History (6)
This ticket was mentioned in PR #17 on bbpress/bbPress by @narenin.
18 months ago
#1
- Keywords has-patch added
#3
@
16 months ago
- Cc SirLouen added
- Keywords changes-requested added; needs-docs has-patch removed
The format is not standard according to Hooks documentation.
There should not be any @return statements, only @param
Also if you have @since in the function, you can take it as a reference.
@johnjamesjacoby commented on PR #17:
4 months ago
#6
Fixed via: https://bbpress.trac.wordpress.org/changeset/7361
Thank you!
Core Trac : https://bbpress.trac.wordpress.org/ticket/3110