Make WordPress Core


Ignore:
Timestamp:
12/01/2009 08:00:33 PM (15 years ago)
Author:
ryan
Message:

Standardize on 'Undo'. Props caesarsgrunt. fixes #11299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r12286 r12308  
    155155            printf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed );
    156156            $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 />';
    158158        }
    159159        if ( $unspammed > 0 ) {
     
    164164            printf( _n( '%s comment moved to the trash.', '%s comments moved to the trash.', $trashed ), $trashed );
    165165            $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 />';
    167167        }
    168168        if ( $untrashed > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.