Ticket #3830 (closed enhancement: fixed)
Functionize comment display in admin, enable paging for comments on single posts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | needs-patch, 2nd-opinion |
| Cc: |
Description
This patch adds a Mass Edit Mode for comments when viewing an individual blogpost in the admin (an example url of this page is: wp-admin/edit.php?p=10&c=1 ). I've created this patch, because I had a very large amount of spam and garbage in my comments, but only at some specific blog posts. It was not convenient to delete thos using the existing comment management (because there were a lot of 'good' comments between the crap). Managing the comments on a 'per-post' basis, makes life a little easier. The patch is against current svn.
Attachments
Change History
I've refactored the code of edit-comments.php and created the new file comment-list.php which contains functions for displaying the comment list. With the attached patches, edit-comments.php en edit.php share the same code for the comment list (reducing the filesize significantly). As an added bonus, the comments for a single post are now paged and can be mass-editted.
Patches: comment-list.php - (should be located in wp-admin) contain the commentlist functions edit.php.diff - display contents using comment-list.php edit-comments.php.diff - display contents using comment-list.php
- Summary changed from Enable 'Mass Edit Mode' for comments on individual post to Functionize comment display in admin, enable paging for comments on single posts
I noticed that in current svn edit.php is localized. I will update my patch soon in order to support localization.
- Keywords needs-patch, 2nd-opinion added
Is this still required given the changes in 2.7?
- Status changed from new to closed
- Resolution set to fixed
- Milestone 2.9 deleted
presumably not. closing as fixed.

