Hello!
It would be nice to have opportunity to edit comment's custom fields data.
Thanks in advance
Hello!
It would be nice to have opportunity to edit comment's custom fields data.
Thanks in advance
What kind of custom fields do you mean and what do you want to do with the custom field?
Hello!
I mean meta data field to a comment. Fields that are used with functions:
get_comment_meta()
update_comment_meta(),
add_comment_meta().
When you are in Edit Comment form you see only Name, email, URL, Comment text.
For example, when we edit a post we can update meta data to a post. But for comments we can't.
Thanks!
You mean this? http://wordpress.org/extend/ideas/topic/comment-form
No, this is other.
Please take your time and read:
http://codex.wordpress.org/Function_Reference/get_comment_meta
I'm sorry man but you post here only to have link to your web-site?
ZehrGut interesting idea, but it need not all. Sorry for my English, I am from Russia.
ZehrGut,
I agree this could be sehr useful. Never used comment meta, so I wasn't aware of this them not being editable (makes no sense, if everything else in a comment can be edited).
I don't have time to give it a deeper look before weekend, but quickly checking out wp-admin/edit-form-comment.php, looks like comment meta fields are not even shown, right?
There's two do_action calls in the file, so maybe a custom function can be hooked, but I really need to try it first:
do_action('add_meta_boxes', 'comment', $comment);
do_action('add_meta_boxes_comment', $comment);
(Line 130 and line 131 in edit-form-comments.php)
Hello!
Yes, it can be done.
Some plugins add metaboxes to comment editing form. It's not a problem. But it would be nice to have such functionality out-of-the-box. Like for posts.
Ah, I see. Have you tried submitting a patch for this? Or do you know if anyone else has?
Unfortunately no. I don't do coding by myself. Only small tweaking.
You must log in to post.