WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 19 months ago

Last modified 19 months ago

#21706 closed enhancement (fixed)

wp_update_comment() cannot update the comment_parent

Reported by: JustinSainton Owned by: ryan
Milestone: 3.5 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch needs-testing dev-feedback
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I'm unsure whether or not this was an oversight or a design decision - I could see it either way. I see how it's handled via wp_insert_comment on ticket #8019 - but it seems like it'd be a nice addition for wp_update_comment() as well.

Attachments (1)

21706.patch (771 bytes) - added by JustinSainton 20 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 SergeyBiryukov20 months ago

  • Description modified (diff)

comment:2 nacin20 months ago

  • Keywords needs-patch added; dev-feedback removed
  • Milestone changed from Awaiting Review to Future Release

Agreed.

JustinSainton20 months ago

comment:3 JustinSainton20 months ago

  • Keywords has-patch added; needs-patch removed

comment:4 JustinSainton19 months ago

  • Keywords needs-testing dev-feedback added

comment:5 SergeyBiryukov19 months ago

  • Milestone changed from Future Release to 3.5

comment:6 ryan19 months ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [21938]:

Update comment_parent in wp_update_comment(). Props JustinSainton. fixes #21706

Note: See TracTickets for help on using tickets.