#26436 closed defect (bug) (fixed)
wp-includes/link-template.php: PhpDoc correction - edit_comment_link() returns void
| Reported by: | Corphi | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Permalinks | Version: | 3.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs |
Description
Citing wp-includes/link-template.php (line 1003):
* @return string|null HTML content, if $echo is set to false.
should be:
* @return void (or dropped)
The prose should be adapted, too. $echo was probably a parameter to the function that has been removed.
Attachments (2)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Variant dropping the return annotation.