Opened 4 years ago
Closed 4 years ago
#5318 closed defect (bug) (reported-upstream)
@see in a DocBlock that is a reference to a hook incorrectly interpreted as a reference to a function
Reported by: | pbiron | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | 2nd-opinion |
Cc: |
Description
I'm not sure if this is the result of something wrong in the DocBlock or with the parser, but in the "see also" section of the Code Reference entry for wp_privacy_process_personal_data_export_page(), the link goes to
and it should go to
If it's a problem with the DocBlock, let me know what's wrong with it and I'll do a core patch.
Change History (2)
Note: See
TracTickets for help on using
tickets.
@pbiron: That should be fixed in core. Hooks should be single-quoted when referenced.
So this:
* @see wp_privacy_personal_data_export_page
Should be:
* @see 'wp_privacy_personal_data_export_page'
The same fix needs to also be applied to
wp_privacy_process_personal_data_erasure_page()
in the same file.