Opened 10 years ago
Closed 10 years ago
#36736 closed defect (bug) (fixed)
get_link_to_edit function displaying wrong param documentation
| Reported by: | tloureiro | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | General | Version: | 4.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The bookmark.php's function get_link_to_edit currently displays
- @param int $link_id ID of link to retrieve.
but when we look at get_bookmark function, it accepts both id AND stdClass
So we changed both function documentation and variable name (from $link_id to $bookmark ) to reflect parameter possibilities.
Attachments (1)
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)
Hi @tloureiro, thanks for the patch, and good catch!