Opened 9 years ago
Closed 9 years ago
#1251 closed enhancement (fixed)
DevHub: Add support for inline @see and @link tags in return descriptions
Reported by: | DrewAPicture | Owned by: | drewapicture |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | has-patch |
Cc: |
Description
Currently, return descriptions are late-escaped on output with esc_html()
which doesn't allow for inline @see
and @link
tags to display as expected. The links are parsed, but the respective {@link
and }
parts are still present on output.
I spoke with @coffee2code about applying the make_doclink_clickable()
method on return descriptions instead and he agrees that should be fine.
As we move more and more toward adding extended documentation to references via the Explanations module, linking parameter and return descriptions to external resources is becoming more common.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 1915: