[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
Tue Jan 5 17:39:35 UTC 2016
#35276: Allow `comment_author_IP` and `comment_agent` keys to be updated via
`wp_update_comment()`
--------------------------------------+------------------
Reporter: rachelbaker | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Comment (by joehoyle):
I'm strongly in favour of adding support for updating all fields via
`wp_update_comment`, that's the internal API, not about UI so I don't see
any reason why this data is arbitrarily immutable. I think there's even
case that a comment update could/should actually trigger changes on these
fields (at least potentially). Tying the data APIs of WordPress to the
front-end website use-case IMO is not a great idea, therefore it seems
that within the context of the underlaying "WordPress framework" of a
comment object, all fields should be modifiable programmatically.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35276#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list