[wp-trac] [WordPress Trac] #30627: Fails to update comment type using wp_update_comment
WordPress Trac
noreply at wordpress.org
Mon Dec 8 10:26:53 UTC 2014
#30627: Fails to update comment type using wp_update_comment
--------------------------+-----------------------------
Reporter: desaiuditd | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by desaiuditd):
Shouldn't this go with the next 4.1 release since I'm assuming this to be
a major change for comments module and any developer would expect this to
work if they are updating a comment_type.
For example, in a plugin that I'm developing, I'm using WP_Comments for
followups and each followup has its type let's say, Public & Private
followup. Now comment author can change the type of his own followup. So
he would just change the type from the UI that I've provided on the front-
end and in the back-end I'm changing the comment type using
`wp_update_comment`.
So I think this is a valid case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30627#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list