Opened 6 months ago
Closed 6 months 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)
@tloureiro
6 months ago
#1
@DrewAPicture
6 months ago
- Focuses docs added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.6
- Type changed from enhancement to defect (bug)
#2
@DrewAPicture
6 months ago
In 37351:
#3
@DrewAPicture
6 months ago
- Owner set to DrewAPicture
- Resolution set to fixed
- Status changed from new to closed
In 37353:
Note: See
TracTickets for help on using
tickets.
Hi @tloureiro, thanks for the patch, and good catch!