Opened 17 years ago
Closed 13 years ago
#5741 closed enhancement (duplicate)
No Edit Comment Form Hook
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Hooks are provided to allow plugins to add custom fields to comment forms, however there is no hook to allow plugins to give admins to ability to adjust any such fields in the comment edit form.
To fix this, I added the following at line 51 of wp-admin/edit-form-comment.php (just above the advanced area of the form)
<?php do_action('edit_comment_form', $comment->comment_ID); ?>
Attachments (3)
Change History (12)
#3
@
17 years ago
ok I uploaded the changed version of wp-admin/edit-form-comment.php
Sorry about the milestone .. it was a field I was presented with to select a value for so I thought I was supposed to select a value :-P
#4
@
16 years ago
- Component changed from Administration to Themes
- Keywords close added
- Milestone changed from 2.9 to Future Release
- Type changed from defect (bug) to enhancement
#5
@
16 years ago
- Component changed from Themes to Administration
This isn't to do with themes, this is for plugins to modify the admin comment editing form.
#7
@
16 years ago
- Owner changed from anonymous to westi
- Status changed from new to reviewing
This looks like a reasonable idea.
Could you possible knock together a proof-of-concept plugin.
i.e. one that adds an extra field to the comment form, processes it and displays it here
This is to make sure we are not missing any other necessary hooks
Thanks :-)
DavidMeade, please leave updating the milestone to a core contributor. Please also attach a patch.