Opened 7 years ago
Closed 7 years ago
#48109 closed defect (bug) (fixed)
PHPDoc correction for edit_bookmark_link in wp-includes/link-template.php
| Reported by: | atachibana | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | General | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description (last modified by )
Enhanced missing information of Codex for edit_bookmark_link() in wp-includes/link-template.php.
When $link is '', default value 'Edit This' is set in the function body.
- * @param string $link Optional. Anchor text. Default empty. + * @param string $link Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
Codex: https://codex.wordpress.org/Function_Reference/edit_bookmark_link
Code Reference: https://developer.wordpress.org/reference/functions/edit_bookmark_link/
Above description was taken from edit_comment_link() in the same function.
This is the action of inline docs and Codex migration initiatives.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 46383: