[wp-trac] [WordPress Trac] #36784: wp_update_comment should work with meta
WordPress Trac
noreply at wordpress.org
Sat Jul 1 13:35:39 UTC 2017
#36784: wp_update_comment should work with meta
--------------------------------------------+-----------------------
Reporter: dshanske | Owner: dshanske
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Comments | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch early has-unit-tests | Focuses:
--------------------------------------------+-----------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40981"]:
{{{
#!CommitTicketReference repository="" revision="40981"
Allow metadata to be updated via `wp_update_comment()`.
Passing an array of `comment_meta` into `wp_update_comment()` will
now update corresponding metadata. Similar functionality already
exists in `wp_insert_comment()`.
Props dshanske, kraftbj.
Fixes #36784.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36784#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list