[wp-trac] [WordPress Trac] #35276: Allow `comment_author_IP` and `comment_agent` keys to be updated via `wp_update_comment()`

WordPress Trac noreply at wordpress.org
Thu Jan 7 03:50:51 UTC 2016


#35276: Allow `comment_author_IP` and `comment_agent` keys to be updated via
`wp_update_comment()`
--------------------------------------+---------------------------
 Reporter:  rachelbaker               |       Owner:  boonebgorges
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.5
Component:  Comments                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => assigned


Comment:

 +1 for the change. We would likely never build a core UI that allows users
 to modify these values, but that's a decision about the design of a
 *client*, and need not be enforced by the API. `wp_update_comment()` is
 the API function and should be flexible for all use cases.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35276#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list