Opened 9 years ago
Closed 9 years ago
#36736 closed defect (bug) (fixed)
get_link_to_edit function displaying wrong param documentation
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | 4.6 |
Component: | General | Keywords: | has-patch |
Focuses: | docs | Cc: |
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.
Hi @tloureiro, thanks for the patch, and good catch!