[wp-meta] [Making WordPress.org] #2339: Don't show the function signature for functions with missing DocBlocks.
Making WordPress.org
noreply at wordpress.org
Thu Dec 22 14:31:03 UTC 2016
#2339: Don't show the function signature for functions with missing DocBlocks.
---------------------------+-----------------
Reporter: keesiemeijer | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Keywords:
---------------------------+-----------------
A function is undocumented if the DocBlock is missing or not found by the
parser. This results in displaying no parameters in the signature for
functions that have parameters. We should show a message that the function
is undocumented instead of showing the signature.
Some examples of undocumented functions
https://developer.wordpress.org/reference/classes/_wp_editors/get_translation/
https://developer.wordpress.org/reference/hooks/image_size_names_choose-4/
https://developer.wordpress.org/reference/hooks/session_token_manager-2/
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2339>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list