Opened 14 years ago
Closed 12 years ago
#16965 closed enhancement (worksforme)
Additional documentation for get_comment_meta
Reported by: | nprasath002 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.1 |
Component: | Inline Docs | Keywords: | has-patch |
Focuses: | Cc: |
Description
the documentation for get_comment_meta in comment.php can be improved.
The metakey and the single value are optional.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
The $meta_key is not optional at present with the function as-is. You can however pass a blank string to it to retrieve all meta.
Setting a default on $key would however allow that.