Opened 10 years ago
Closed 9 years ago
#32369 closed defect (bug) (fixed)
Document the arguments for wp_new_comment
Reported by: | rachelbaker | Owned by: | rachelbaker |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Comments | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
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.
Attachments (3)
Change History (9)
#3
@
10 years ago
- Milestone changed from 4.3 to Future Release
- Owner changed from DrewAPicture to rachelbaker
- Status changed from reviewing to accepted
Moving off the 4.3 milestone until I refresh the patch.
#4
follow-up:
↓ 5
@
9 years ago
- Keywords needs-refresh removed
- Milestone changed from Future Release to 4.4
@rachelbaker: Added 32369.2.patch which refreshes your patch and adds entries for the comment user agent and comment author IP, added in 4.3.
If you could please review those entries for their validity and either iterate the patch and/or make a commit recommendation, that would be splendid.
#5
in reply to:
↑ 4
@
9 years ago
Replying to DrewAPicture:
If you could please review those entries for their validity and either iterate the patch and/or make a commit recommendation, that would be splendid.
@DrewAPicture,
I added an additional line to document the legacy user_ID
key that was normalized in #23231. The rest looked good. Thanks for the assist :)
I am missing some arguments here. I will refresh the patch.