#10858 closed defect (bug) (fixed)
Comment quick edit doesn't use "comment_edit_pre" filter
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.9 | Priority: | normal |
| Severity: | normal | Version: | 2.9 |
| Component: | Administration | Keywords: | has-patch needs-testing |
| Focuses: | Cc: |
Description
Drop this code in a plugin:
add_filter( 'comment_edit_pre', 'viper_commenteditpre' );
function viper_commenteditpre( $content ) {
return 'comment_edit_pre is working! ' . $content;
}
Edit a comment. If you use the normal edit link, the text shows up. If you use Quick Edit, it does not.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
(In [11975]) Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858