WordPress.org

Plugin Directory

Changeset 501888


Ignore:
Timestamp:
02/07/12 22:39:52 (2 years ago)
Author:
josephscott
Message:

Show a History row action link for comments marked as spam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/admin.php

    r501866 r501888  
    348348        foreach ( $a as $k => $item ) { 
    349349            $b[ $k ] = $item; 
    350             if ( $k == 'edit' ) 
     350            if ( $k == 'edit' || $k == 'unspam' ) { 
    351351                $b['history'] = '<a href="comment.php?action=editcomment&amp;c='.$comment->comment_ID.'#akismet-status" title="'. esc_attr__( 'View comment history' ) . '"> '. __('History') . '</a>'; 
     352            } 
    352353        } 
    353354         
Note: See TracChangeset for help on using the changeset viewer.