Opened 10 years ago
Closed 10 years ago
#39527 closed defect (bug) (fixed)
Remove @param tags in DocBlocks for actions without parameters
| Reported by: | keesiemeijer | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
In wp-admin/admin-footer.php the following actions without parameters have a @param tag in their DocBlock
admin_print_footer_scripts-{$hook_suffix}admin_footer-{$hook_suffix}
Attachments (1)
Change History (4)
#1
@
10 years ago
- Keywords has-patch added
In 39527.patch I've removed the @global tags as well as they are not really suited to describe a function parameter.
They are is documented in the description of the actions:
The dynamic portion of the hook name,
$hook_suffix, refers to the global hook suffix of the current page.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Remove @params