Opened 18 years ago
Closed 16 years ago
#3830 closed enhancement (fixed)
Functionize comment display in admin, enable paging for comments on single posts
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | needs-patch, 2nd-opinion |
Focuses: | 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 (3)
Change History (13)
#4
@
18 years ago
- 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
#5
@
18 years ago
I noticed that in current svn edit.php is localized. I will update my patch soon in order to support localization.
Note: See
TracTickets for help on using
tickets.
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