Make WordPress Core

Opened 17 years ago

Closed 15 years ago

#3830 closed enhancement (fixed)

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

Reported by: martin10's profile Martin10 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)

edit.php.diff (4.4 KB) - added by Martin10 17 years ago.
Support comment-list.php
edit-comments.php.diff (12.4 KB) - added by Martin10 17 years ago.
comment-list.php (10.1 KB) - added by Martin10 17 years ago.

Download all attachments as: .zip

Change History (13)

#1 @foolswisdom
17 years ago

  • Milestone changed from 2.1.2 to 2.2

#2 @Martin10
17 years ago

  • Keywords has-patch added; mass edit mode removed

#3 @Martin10
17 years ago

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

@Martin10
17 years ago

Support comment-list.php

#4 @Martin10
17 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 @Martin10
17 years ago

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

#6 @foolswisdom
17 years ago

  • Keywords has-patch removed

#7 @foolswisdom
17 years ago

  • Milestone changed from 2.2 to 2.4

#8 @ffemtcj
16 years ago

  • Milestone changed from 2.5 to 2.6

#9 @mrmist
15 years ago

  • Keywords needs-patch 2nd-opinion added

Is this still required given the changes in 2.7?

#10 @Denis-de-Bernardy
15 years ago

  • Milestone 2.9 deleted
  • Resolution set to fixed
  • Status changed from new to closed

presumably not. closing as fixed.

Note: See TracTickets for help on using tickets.