Ticket #3830 (closed enhancement: fixed)

Opened 5 years ago

Last modified 3 years ago

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

Reported by: Martin10 Owned by: anonymous
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

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

Change History

  • Milestone changed from 2.1.2 to 2.2
  • Keywords has-patch added; mass edit mode removed

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

Support 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 has-patch removed
  • Milestone changed from 2.2 to 2.4
  • Milestone changed from 2.5 to 2.6
  • 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.

Note: See TracTickets for help on using tickets.