[wp-trac] [WordPress Trac] #32369: Document the arguments for wp_new_comment
WordPress Trac
noreply at wordpress.org
Wed May 13 03:55:45 UTC 2015
#32369: Document the arguments for wp_new_comment
--------------------------+-----------------------
Reporter: rachelbaker | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Comments | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: docs |
--------------------------+-----------------------
Clarifies the $commentdata param description added in r32500.
`wp_new_comment()` does not allow the same $commentdata array values and
has different defaults than `wp_insert_comment()`.
Lets give `wp_new_comment` a $commentdata array hash notation all its own.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32369>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list