Changeset 12308 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 12/01/2009 08:00:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r12286 r12308 155 155 printf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed ); 156 156 $ids = isset($_GET['ids']) ? $_GET['ids'] : 0; 157 echo ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=unspam&ids=$ids", "bulk-comments" ) ) . '">' . __('Undo ?') . '</a><br />';157 echo ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=unspam&ids=$ids", "bulk-comments" ) ) . '">' . __('Undo') . '</a><br />'; 158 158 } 159 159 if ( $unspammed > 0 ) { … … 164 164 printf( _n( '%s comment moved to the trash.', '%s comments moved to the trash.', $trashed ), $trashed ); 165 165 $ids = isset($_GET['ids']) ? $_GET['ids'] : 0; 166 echo ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=untrash&ids=$ids", "bulk-comments" ) ) . '">' . __('Undo ?') . '</a><br />';166 echo ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=untrash&ids=$ids", "bulk-comments" ) ) . '">' . __('Undo') . '</a><br />'; 167 167 } 168 168 if ( $untrashed > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.