Changeset 11930 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 09/14/2009 02:03:32 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r11841 r11930 20 20 if ( isset($_REQUEST['doaction']) || isset($_REQUEST['doaction2']) || isset($_REQUEST['delete_all']) || isset($_REQUEST['delete_all2']) ) { 21 21 check_admin_referer('bulk-comments'); 22 22 23 23 if ((isset($_REQUEST['delete_all']) || isset($_REQUEST['delete_all2'])) && !empty($_REQUEST['pagegen_timestamp'])) { 24 24 $comment_status = $wpdb->escape($_REQUEST['comment_status']); … … 30 30 $doaction = ($_REQUEST['action'] != -1) ? $_REQUEST['action'] : $_REQUEST['action2']; 31 31 } else wp_redirect($_SERVER['HTTP_REFERER']); 32 32 33 33 $approved = $unapproved = $spammed = $trashed = $untrashed = $deleted = 0; 34 34 35 35 foreach ($comment_ids as $comment_id) { // Check the permissions on each 36 36 $_post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = %d", $comment_id) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)