Ticket #3830 (new enhancement)

Opened 2 years ago

Last modified 8 months ago

Functionize comment display in admin, enable paging for comments on single posts

Reported by: Martin10 Assigned to: anonymous
Priority: normal Milestone: 2.9
Component: Administration Version:
Severity: normal Keywords:
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

edit.php.diff (4.4 kB) - added by Martin10 on 02/27/07 11:34:24.
Support comment-list.php
edit-comments.php.diff (12.4 kB) - added by Martin10 on 02/27/07 11:34:52.
comment-list.php (10.1 kB) - added by Martin10 on 02/27/07 11:35:11.

Change History

02/21/07 16:05:14 changed by foolswisdom

  • milestone changed from 2.1.2 to 2.2.

02/23/07 08:42:01 changed by Martin10

  • keywords changed from mass edit mode to has-patch.

02/27/07 11:33:51 changed by Martin10

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

02/27/07 11:34:24 changed by Martin10

  • attachment edit.php.diff added.

Support comment-list.php

02/27/07 11:34:52 changed by Martin10

  • attachment edit-comments.php.diff added.

02/27/07 11:35:11 changed by Martin10

  • attachment comment-list.php added.

02/27/07 11:37:48 changed by Martin10

  • 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.

03/07/07 11:10:00 changed by Martin10

I noticed that in current svn edit.php is localized. I will update my patch soon in order to support localization.

03/07/07 18:33:35 changed by foolswisdom

  • keywords deleted.

03/27/07 23:41:43 changed by foolswisdom

  • milestone changed from 2.2 to 2.4.

03/19/08 03:38:06 changed by ffemtcj

  • milestone changed from 2.5 to 2.6.