[wp-meta] [Making WordPress.org] #5318: @see in a DocBlock that is a reference to a hook incorrectly interpreted as a reference to a function
Making WordPress.org
noreply at wordpress.org
Thu Jul 16 22:58:50 UTC 2020
#5318: @see in a DocBlock that is a reference to a hook incorrectly interpreted as
a reference to a function
---------------------------+---------------------
Reporter: pbiron | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Resolution:
Keywords: 2nd-opinion |
---------------------------+---------------------
Comment (by coffee2code):
@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.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5318#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list