Make WordPress Core

Opened 7 years ago

Closed 5 years ago

#3830 closed enhancement (fixed)

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

Reported by: Martin10 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords: needs-patch, 2nd-opinion
Focuses: Cc:


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 7 years ago.
Support comment-list.php
edit-comments.php.diff (12.4 KB) - added by Martin10 7 years ago.
comment-list.php (10.1 KB) - added by Martin10 7 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 foolswisdom7 years ago

  • Milestone changed from 2.1.2 to 2.2

comment:2 Martin107 years ago

  • Keywords has-patch added; mass edit mode removed

comment:3 Martin107 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.

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

Martin107 years ago

Support comment-list.php

Martin107 years ago

Martin107 years ago

comment:4 Martin107 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

comment:5 Martin107 years ago

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

comment:6 foolswisdom7 years ago

  • Keywords has-patch removed

comment:7 foolswisdom7 years ago

  • Milestone changed from 2.2 to 2.4

comment:8 ffemtcj6 years ago

  • Milestone changed from 2.5 to 2.6

comment:9 mrmist5 years ago

  • Keywords needs-patch 2nd-opinion added

Is this still required given the changes in 2.7?

comment:10 Denis-de-Bernardy5 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.